TransferManager.DownloadAsync Method (CloudBlob, String, DownloadOptions, SingleTransferContext)
Updated: January 5, 2017
Download an Azure blob from Azure Blob Storage.
Assembly: Microsoft.WindowsAzure.Storage.DataMovement (in Microsoft.WindowsAzure.Storage.DataMovement.dll)
public static Task DownloadAsync( CloudBlob sourceBlob, string destPath, DownloadOptions options, SingleTransferContext context )
Parameters
- sourceBlob
-
Type:
Microsoft.WindowsAzure.Storage.Blob.CloudBlob
The CloudBlob that is the source Azure blob.
- destPath
-
Type:
System.String
Path to the destination file.
- options
-
Type:
Microsoft.WindowsAzure.Storage.DataMovement.DownloadOptions
A DownloadOptions object that specifies additional options for the operation.
- context
-
Type:
Microsoft.WindowsAzure.Storage.DataMovement.SingleTransferContext
A SingleTransferContext object that represents the context for the current operation.
Return Value
Type: System.Threading.Tasks.TaskA Task object that represents the asynchronous operation.
Show: