BlobContainerClientExtensions.StartDownloadToDirectoryAsync 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

StartDownloadToDirectoryAsync(BlobContainerClient, String, BlobContainerClientTransferOptions)

Source:
BlobContainerClientExtensions.cs

Downloads the contents of a blob container.

C#
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);

Parameters

client
BlobContainerClient

The BlobContainerClient used for service operations.

localDirectoryPath
String

The full path to the local directory where files will be dowloaded.

options
BlobContainerClientTransferOptions

Options which control the container download.

Returns

Applies to

Azure SDK for .NET Preview
Product Versies
Azure SDK for .NET Preview

StartDownloadToDirectoryAsync(BlobContainerClient, String, String)

Source:
BlobContainerClientExtensions.cs

Downloads the contents of a blob container.

C#
public static System.Threading.Tasks.Task<Azure.Storage.DataMovement.DataTransfer> StartDownloadToDirectoryAsync(this Azure.Storage.Blobs.BlobContainerClient client, string localDirectoryPath, string blobDirectoryPrefix = default);

Parameters

client
BlobContainerClient

The BlobContainerClient used for service operations.

localDirectoryPath
String

The full path to the local directory where files will be dowloaded.

blobDirectoryPrefix
String

Optionally restricts the downloaded content to blobs with the specified directory prefix.

Returns

Applies to

Azure SDK for .NET Preview
Product Versies
Azure SDK for .NET Preview