你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
BlobContainerClientExtensions.StartDownloadToDirectoryAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
StartDownloadToDirectoryAsync(BlobContainerClient, String, BlobContainerClientTransferOptions) |
下载 Blob 容器的内容。 |
StartDownloadToDirectoryAsync(BlobContainerClient, String, String) |
下载 Blob 容器的内容。 |
StartDownloadToDirectoryAsync(BlobContainerClient, String, BlobContainerClientTransferOptions)
下载 Blob 容器的内容。
public static System.Threading.Tasks.Task<Azure.Storage.DataMovement.DataTransfer> StartDownloadToDirectoryAsync (this Azure.Storage.Blobs.BlobContainerClient client, string localDirectoryPath, Azure.Storage.DataMovement.Blobs.BlobContainerClientTransferOptions options);
static member StartDownloadToDirectoryAsync : Azure.Storage.Blobs.BlobContainerClient * string * Azure.Storage.DataMovement.Blobs.BlobContainerClientTransferOptions -> System.Threading.Tasks.Task<Azure.Storage.DataMovement.DataTransfer>
<Extension()>
Public Function StartDownloadToDirectoryAsync (client As BlobContainerClient, localDirectoryPath As String, options As BlobContainerClientTransferOptions) As Task(Of DataTransfer)
参数
- client
- BlobContainerClient
BlobContainerClient用于服务操作的 。
- localDirectoryPath
- String
文件将加载到的本地目录的完整路径。
控制容器下载的选项。
返回
适用于
StartDownloadToDirectoryAsync(BlobContainerClient, String, String)
下载 Blob 容器的内容。
public static System.Threading.Tasks.Task<Azure.Storage.DataMovement.DataTransfer> StartDownloadToDirectoryAsync (this Azure.Storage.Blobs.BlobContainerClient client, string localDirectoryPath, string blobDirectoryPrefix = default);
static member StartDownloadToDirectoryAsync : Azure.Storage.Blobs.BlobContainerClient * string * string -> System.Threading.Tasks.Task<Azure.Storage.DataMovement.DataTransfer>
<Extension()>
Public Function StartDownloadToDirectoryAsync (client As BlobContainerClient, localDirectoryPath As String, Optional blobDirectoryPrefix As String = Nothing) As Task(Of DataTransfer)
参数
- client
- BlobContainerClient
BlobContainerClient用于服务操作的 。
- localDirectoryPath
- String
文件将加载到的本地目录的完整路径。
- blobDirectoryPrefix
- String
(可选)将下载的内容限制为具有指定目录前缀的 Blob。