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.
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기