TransferManager.DownloadDirectoryAsync Method (CloudBlobDirectory, String, DownloadDirectoryOptions, DirectoryTransferContext)

 

Updated: January 5, 2017

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)

public static Task<TransferStatus> DownloadDirectoryAsync(
	CloudBlobDirectory sourceBlobDir,
	string destPath,
	DownloadDirectoryOptions options,
	DirectoryTransferContext context
)

Parameters

sourceBlobDir
Type: Microsoft.WindowsAzure.Storage.Blob.CloudBlobDirectory

The CloudBlobDirectory that is the source Azure blob directory.

destPath
Type: System.String

Path to the destination directory

options
Type: Microsoft.WindowsAzure.Storage.DataMovement.DownloadDirectoryOptions

A DownloadDirectoryOptions object that specifies additional options for the operation.

context
Type: Microsoft.WindowsAzure.Storage.DataMovement.DirectoryTransferContext

A 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.

Return to top
Show: