TransferManagerDownloadAsync Method (CloudFile, String, DownloadOptions, SingleTransferContext) |
Download an Azure file from Azure File Storage.
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 DownloadAsync(
CloudFile sourceFile,
string destPath,
DownloadOptions options,
SingleTransferContext context
)
Public Shared Function DownloadAsync (
sourceFile As CloudFile,
destPath As String,
options As DownloadOptions,
context As SingleTransferContext
) As Task
public:
static Task^ DownloadAsync(
CloudFile^ sourceFile,
String^ destPath,
DownloadOptions^ options,
SingleTransferContext^ context
)
static member DownloadAsync :
sourceFile : CloudFile *
destPath : string *
options : DownloadOptions *
context : SingleTransferContext -> Task
Parameters
- sourceFile
- Type: CloudFile
The CloudFile that is the source Azure file. - destPath
- Type: SystemString
Path to the destination file. - options
- Type: Microsoft.Azure.Storage.DataMovementDownloadOptions
A DownloadOptions 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.
Return Value
Type:
TaskA
Task object that represents the asynchronous operation.
See Also