TransferManager.DownloadDirectoryAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
DownloadDirectoryAsync(CloudFileDirectory, String, DownloadDirectoryOptions, DirectoryTransferContext, CancellationToken) |
Download an Azure file directory from Azure File Storage. |
DownloadDirectoryAsync(CloudBlobDirectory, String, DownloadDirectoryOptions, DirectoryTransferContext, CancellationToken) |
Download an Azure blob directory from Azure Blob Storage. |
DownloadDirectoryAsync(CloudBlobDirectory, String, DownloadDirectoryOptions, DirectoryTransferContext) |
Download an Azure blob directory from Azure Blob Storage. |
DownloadDirectoryAsync(CloudFileDirectory, String, DownloadDirectoryOptions, DirectoryTransferContext) |
Download an Azure file directory from Azure File Storage. |
DownloadDirectoryAsync(CloudFileDirectory, String, DownloadDirectoryOptions, DirectoryTransferContext, CancellationToken)
Download an Azure file directory from Azure File Storage.
public static System.Threading.Tasks.Task<Microsoft.Azure.Storage.DataMovement.TransferStatus> DownloadDirectoryAsync (Microsoft.Azure.Storage.File.CloudFileDirectory sourceFileDir, string destPath, Microsoft.Azure.Storage.DataMovement.DownloadDirectoryOptions options, Microsoft.Azure.Storage.DataMovement.DirectoryTransferContext context, System.Threading.CancellationToken cancellationToken);
static member DownloadDirectoryAsync : Microsoft.Azure.Storage.File.CloudFileDirectory * string * Microsoft.Azure.Storage.DataMovement.DownloadDirectoryOptions * Microsoft.Azure.Storage.DataMovement.DirectoryTransferContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.DataMovement.TransferStatus>
Public Shared Function DownloadDirectoryAsync (sourceFileDir As CloudFileDirectory, destPath As String, options As DownloadDirectoryOptions, context As DirectoryTransferContext, cancellationToken As CancellationToken) As Task(Of TransferStatus)
Parameters
- sourceFileDir
- CloudFileDirectory
The CloudFileDirectory that is the source Azure file directory.
- destPath
- String
Path to the destination directory
- options
- DownloadDirectoryOptions
A DownloadDirectoryOptions object that specifies additional options for the operation.
- context
- DirectoryTransferContext
A DirectoryTransferContext object that represents the context for the current operation.
- cancellationToken
- CancellationToken
A CancellationToken object to observe while waiting for a task to complete.
Returns
A Task<TResult> object of type TransferStatus that represents the asynchronous operation.
Applies to
DownloadDirectoryAsync(CloudBlobDirectory, String, DownloadDirectoryOptions, DirectoryTransferContext, CancellationToken)
Download an Azure blob directory from Azure Blob Storage.
public static System.Threading.Tasks.Task<Microsoft.Azure.Storage.DataMovement.TransferStatus> DownloadDirectoryAsync (Microsoft.Azure.Storage.Blob.CloudBlobDirectory sourceBlobDir, string destPath, Microsoft.Azure.Storage.DataMovement.DownloadDirectoryOptions options, Microsoft.Azure.Storage.DataMovement.DirectoryTransferContext context, System.Threading.CancellationToken cancellationToken);
static member DownloadDirectoryAsync : Microsoft.Azure.Storage.Blob.CloudBlobDirectory * string * Microsoft.Azure.Storage.DataMovement.DownloadDirectoryOptions * Microsoft.Azure.Storage.DataMovement.DirectoryTransferContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.DataMovement.TransferStatus>
Public Shared Function DownloadDirectoryAsync (sourceBlobDir As CloudBlobDirectory, destPath As String, options As DownloadDirectoryOptions, context As DirectoryTransferContext, cancellationToken As CancellationToken) As Task(Of TransferStatus)
Parameters
- sourceBlobDir
- CloudBlobDirectory
The CloudBlobDirectory that is the source Azure blob directory.
- destPath
- String
Path to the destination directory
- options
- DownloadDirectoryOptions
A DownloadDirectoryOptions object that specifies additional options for the operation.
- context
- DirectoryTransferContext
A DirectoryTransferContext object that represents the context for the current operation.
- cancellationToken
- CancellationToken
A CancellationToken object to observe while waiting for a task to complete.
Returns
A Task<TResult> object of type TransferStatus that represents the asynchronous operation.
Applies to
DownloadDirectoryAsync(CloudBlobDirectory, String, DownloadDirectoryOptions, DirectoryTransferContext)
Download an Azure blob directory from Azure Blob Storage.
public static System.Threading.Tasks.Task<Microsoft.Azure.Storage.DataMovement.TransferStatus> DownloadDirectoryAsync (Microsoft.Azure.Storage.Blob.CloudBlobDirectory sourceBlobDir, string destPath, Microsoft.Azure.Storage.DataMovement.DownloadDirectoryOptions options, Microsoft.Azure.Storage.DataMovement.DirectoryTransferContext context);
static member DownloadDirectoryAsync : Microsoft.Azure.Storage.Blob.CloudBlobDirectory * string * Microsoft.Azure.Storage.DataMovement.DownloadDirectoryOptions * Microsoft.Azure.Storage.DataMovement.DirectoryTransferContext -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.DataMovement.TransferStatus>
Public Shared Function DownloadDirectoryAsync (sourceBlobDir As CloudBlobDirectory, destPath As String, options As DownloadDirectoryOptions, context As DirectoryTransferContext) As Task(Of TransferStatus)
Parameters
- sourceBlobDir
- CloudBlobDirectory
The CloudBlobDirectory that is the source Azure blob directory.
- destPath
- String
Path to the destination directory
- options
- DownloadDirectoryOptions
A DownloadDirectoryOptions object that specifies additional options for the operation.
- context
- DirectoryTransferContext
A DirectoryTransferContext object that represents the context for the current operation.
Returns
A Task<TResult> object of type TransferStatus that represents the asynchronous operation.
Applies to
DownloadDirectoryAsync(CloudFileDirectory, String, DownloadDirectoryOptions, DirectoryTransferContext)
Download an Azure file directory from Azure File Storage.
public static System.Threading.Tasks.Task<Microsoft.Azure.Storage.DataMovement.TransferStatus> DownloadDirectoryAsync (Microsoft.Azure.Storage.File.CloudFileDirectory sourceFileDir, string destPath, Microsoft.Azure.Storage.DataMovement.DownloadDirectoryOptions options, Microsoft.Azure.Storage.DataMovement.DirectoryTransferContext context);
static member DownloadDirectoryAsync : Microsoft.Azure.Storage.File.CloudFileDirectory * string * Microsoft.Azure.Storage.DataMovement.DownloadDirectoryOptions * Microsoft.Azure.Storage.DataMovement.DirectoryTransferContext -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.DataMovement.TransferStatus>
Public Shared Function DownloadDirectoryAsync (sourceFileDir As CloudFileDirectory, destPath As String, options As DownloadDirectoryOptions, context As DirectoryTransferContext) As Task(Of TransferStatus)
Parameters
- sourceFileDir
- CloudFileDirectory
The CloudFileDirectory that is the source Azure file directory.
- destPath
- String
Path to the destination directory
- options
- DownloadDirectoryOptions
A DownloadDirectoryOptions object that specifies additional options for the operation.
- context
- DirectoryTransferContext
A DirectoryTransferContext object that represents the context for the current operation.
Returns
A Task<TResult> object of type TransferStatus that represents the asynchronous operation.