public AbortMultipartUploadAsync ( |
||
request | Container for the necessary parameters to execute the AbortMultipartUpload operation. | |
cancellationToken | System | /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// |
return | Task |
public Task<AbortMultipartUploadResponse> AbortMultipartUploadAsync(AbortMultipartUploadRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var marshaller = new AbortMultipartUploadRequestMarshaller();
var unmarshaller = AbortMultipartUploadResponseUnmarshaller.Instance;
return InvokeAsync<AbortMultipartUploadRequest,AbortMultipartUploadResponse>(request, marshaller,
unmarshaller, cancellationToken);
}
AmazonS3Client::AbortMultipartUploadAsync ( string bucketName, string key, string uploadId, System cancellationToken = default(CancellationToken) ) : Task |
|
AmazonS3Client::AbortMultipartUploadAsync ( |
|
AmazonS3Client::AbortMultipartUploadAsync ( string bucketName, string key, string uploadId, AbortMultipartUploadResponse>.AmazonServiceCallback |
public async Task AbortUploadFile(BasicAWSCredentials credentials, string bucketname, string key, string uploadid) { var s3Client = new AmazonS3Client(credentials, RegionEndpoint.USEast1); await s3Client.AbortMultipartUploadAsync(new AbortMultipartUploadRequest { BucketName = bucketname, Key = key, UploadId = uploadid }); }