TransferManagerCopyAsync Method (CloudBlob, CloudFile, CopyMethod) |
Copy content, properties and metadata of an Azure blob to an Azure file.
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(
CloudBlob sourceBlob,
CloudFile destFile,
CopyMethod copyMethod
)
Public Shared Function CopyAsync (
sourceBlob As CloudBlob,
destFile As CloudFile,
copyMethod As CopyMethod
) As Task
public:
static Task^ CopyAsync(
CloudBlob^ sourceBlob,
CloudFile^ destFile,
CopyMethod copyMethod
)
static member CopyAsync :
sourceBlob : CloudBlob *
destFile : CloudFile *
copyMethod : CopyMethod -> Task
Parameters
- sourceBlob
- Type: CloudBlob
The CloudBlob that is the source Azure blob. - destFile
- Type: CloudFile
The CloudFile that is the destination Azure file. - 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:
TaskA
Task object that represents the asynchronous operation.
See Also