| TransferManagerCopyAsync Method (CloudBlob, CloudBlob, CopyMethod, CopyOptions, SingleTransferContext, CancellationToken) | 
 
            Copy content, properties and metadata of one Azure blob to another.
            
 
    Namespace: 
   Microsoft.Azure.Storage.DataMovement
    Assembly:
   Microsoft.Azure.Storage.DataMovement (in Microsoft.Azure.Storage.DataMovement.dll) Version: 2.0.1.0 (2.0.1.0)
 Syntax
Syntaxpublic static Task CopyAsync(
	CloudBlob sourceBlob,
	CloudBlob destBlob,
	CopyMethod copyMethod,
	CopyOptions options,
	SingleTransferContext context,
	CancellationToken cancellationToken
)
Public Shared Function CopyAsync ( 
	sourceBlob As CloudBlob,
	destBlob As CloudBlob,
	copyMethod As CopyMethod,
	options As CopyOptions,
	context As SingleTransferContext,
	cancellationToken As CancellationToken
) As Task
public:
static Task^ CopyAsync(
	CloudBlob^ sourceBlob, 
	CloudBlob^ destBlob, 
	CopyMethod copyMethod, 
	CopyOptions^ options, 
	SingleTransferContext^ context, 
	CancellationToken cancellationToken
)
static member CopyAsync : 
        sourceBlob : CloudBlob * 
        destBlob : CloudBlob * 
        copyMethod : CopyMethod * 
        options : CopyOptions * 
        context : SingleTransferContext * 
        cancellationToken : CancellationToken -> Task 
Parameters
- sourceBlob
- Type: CloudBlob
 The CloudBlob that is the source Azure blob.
- destBlob
- Type: CloudBlob
 The CloudBlob that is the destination Azure blob.
- copyMethod
- Type: Microsoft.Azure.Storage.DataMovementCopyMethod
 A flag indicating how the copying operation is handled in DataMovement Library.
            See definition of CopyMethod for more details on how copying operation will be handled.
- options
- Type: Microsoft.Azure.Storage.DataMovementCopyOptions
 A CopyOptions object that specifies additional options for the operation.
- context
- Type: Microsoft.Azure.Storage.DataMovementSingleTransferContext
 A SingleTransferContext object that represents the context for the current operation.
- cancellationToken
- Type: System.ThreadingCancellationToken
 A CancellationToken object to observe while waiting for a task to complete.
Return Value
Type: 
TaskA 
Task object that represents the asynchronous operation.
 See Also
See Also