你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

BlobContainerClientExtensions.StartDownloadToDirectoryAsync 方法

定义

重载

StartDownloadToDirectoryAsync(BlobContainerClient, String, BlobContainerClientTransferOptions)

下载 Blob 容器的内容。

StartDownloadToDirectoryAsync(BlobContainerClient, String, String)

下载 Blob 容器的内容。

StartDownloadToDirectoryAsync(BlobContainerClient, String, BlobContainerClientTransferOptions)

Source:
BlobContainerClientExtensions.cs

下载 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

文件将加载到的本地目录的完整路径。

options
BlobContainerClientTransferOptions

控制容器下载的选项。

返回

适用于

StartDownloadToDirectoryAsync(BlobContainerClient, String, String)

Source:
BlobContainerClientExtensions.cs

下载 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。

返回

适用于