Click or drag to resize

TransferManagerCopyAsync Method (CloudFile, CloudBlob, CopyMethod)

Copy content, properties and metadata of an Azure file to an Azure blob.

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
public static Task CopyAsync(
	CloudFile sourceFile,
	CloudBlob destBlob,
	CopyMethod copyMethod
)

Parameters

sourceFile
Type: CloudFile
The CloudFile that is the source Azure file.
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.

Return Value

Type: Task
A Task object that represents the asynchronous operation.
See Also