TransferManager.DownloadDirectoryAsync Method (CloudBlobDirectory, String, DownloadDirectoryOptions, DirectoryTransferContext)
Download an Azure blob directory from Azure Blob Storage.
Namespace: Microsoft.WindowsAzure.Storage.DataMovement
Assembly: Microsoft.WindowsAzure.Storage.DataMovement (in Microsoft.WindowsAzure.Storage.DataMovement.dll)
Syntax
public static Task<TransferStatus> DownloadDirectoryAsync(
CloudBlobDirectory sourceBlobDir,
string destPath,
DownloadDirectoryOptions options,
DirectoryTransferContext context
)
Parameters
sourceBlobDir
Type: Microsoft.WindowsAzure.Storage.Blob.CloudBlobDirectoryThe CloudBlobDirectory that is the source Azure blob directory.
destPath
Type: System.StringPath to the destination directory
options
Type: Microsoft.WindowsAzure.Storage.DataMovement.DownloadDirectoryOptionsA DownloadDirectoryOptions object that specifies additional options for the operation.
context
Type: Microsoft.WindowsAzure.Storage.DataMovement.DirectoryTransferContextA DirectoryTransferContext object that represents the context for the current operation.
Return Value
Type: System.Threading.Tasks.Task<TransferStatus>
A Task<TResult> object of type TransferStatus that represents the asynchronous operation.
See Also
DownloadDirectoryAsync Overload
TransferManager Class
Microsoft.WindowsAzure.Storage.DataMovement Namespace
Return to top