Amazon.S3.AmazonS3Client.CopyPartAsync C# (CSharp) Method

CopyPartAsync() public method

Uploads a part by copying data from an existing object as data source.
public CopyPartAsync ( string sourceBucket, string sourceKey, string destinationBucket, string destinationKey, string uploadId, System cancellationToken = default(CancellationToken) ) : Task
sourceBucket string A property of CopyPartRequest used to execute the CopyPart service method.
sourceKey string A property of CopyPartRequest used to execute the CopyPart service method.
destinationBucket string A property of CopyPartRequest used to execute the CopyPart service method.
destinationKey string A property of CopyPartRequest used to execute the CopyPart service method.
uploadId string Upload ID identifying the multipart upload whose part is being copied.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<CopyPartResponse> CopyPartAsync(string sourceBucket, string sourceKey, string destinationBucket, string destinationKey, string uploadId, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var request = new CopyPartRequest();
            request.SourceBucket = sourceBucket;
            request.SourceKey = sourceKey;
            request.DestinationBucket = destinationBucket;
            request.DestinationKey = destinationKey;
            request.UploadId = uploadId;
            return CopyPartAsync(request, cancellationToken);
        }

Same methods

AmazonS3Client::CopyPartAsync ( CopyPartRequest request, System cancellationToken = default(CancellationToken) ) : Task
AmazonS3Client::CopyPartAsync ( string sourceBucket, string sourceKey, string sourceVersionId, string destinationBucket, string destinationKey, string uploadId, System cancellationToken = default(CancellationToken) ) : Task
AmazonS3Client::CopyPartAsync ( CopyPartRequest request, CopyPartResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
AmazonS3Client::CopyPartAsync ( string sourceBucket, string sourceKey, string destinationBucket, string destinationKey, string uploadId, CopyPartResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
AmazonS3Client::CopyPartAsync ( string sourceBucket, string sourceKey, string sourceVersionId, string destinationBucket, string destinationKey, string uploadId, CopyPartResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
AmazonS3Client