BlobBaseClient.DownloadContent Method

Definition

Overloads

DownloadContent()

The DownloadContent() operation downloads a blob from the service, including its metadata and properties.

For more information, see Get Blob.

DownloadContent(CancellationToken)

The DownloadContent(CancellationToken) operation downloads a blob from the service, including its metadata and properties.

For more information, see Get Blob.

DownloadContent(BlobRequestConditions, CancellationToken)

The DownloadContent(BlobRequestConditions, CancellationToken) operation downloads a blob from the service, including its metadata and properties.

For more information, see Get Blob.

DownloadContent()

The DownloadContent() operation downloads a blob from the service, including its metadata and properties.

For more information, see Get Blob.

public virtual Azure.Response<Azure.Storage.Blobs.Models.BlobDownloadResult> DownloadContent ();
abstract member DownloadContent : unit -> Azure.Response<Azure.Storage.Blobs.Models.BlobDownloadResult>
override this.DownloadContent : unit -> Azure.Response<Azure.Storage.Blobs.Models.BlobDownloadResult>
Public Overridable Function DownloadContent () As Response(Of BlobDownloadResult)

Returns

Response<BlobDownloadResult>

A Response<T> describing the downloaded blob. Content contains the blob's data.

Remarks

A RequestFailedException will be thrown if a failure occurs.

Applies to

DownloadContent(CancellationToken)

The DownloadContent(CancellationToken) operation downloads a blob from the service, including its metadata and properties.

For more information, see Get Blob.

public virtual Azure.Response<Azure.Storage.Blobs.Models.BlobDownloadResult> DownloadContent (System.Threading.CancellationToken cancellationToken = default);
abstract member DownloadContent : System.Threading.CancellationToken -> Azure.Response<Azure.Storage.Blobs.Models.BlobDownloadResult>
override this.DownloadContent : System.Threading.CancellationToken -> Azure.Response<Azure.Storage.Blobs.Models.BlobDownloadResult>
Public Overridable Function DownloadContent (Optional cancellationToken As CancellationToken = Nothing) As Response(Of BlobDownloadResult)

Parameters

cancellationToken
CancellationToken

Optional CancellationToken to propagate notifications that the operation should be cancelled.

Returns

Response<BlobDownloadResult>

A Response<T> describing the downloaded blob. Content contains the blob's data.

Remarks

A RequestFailedException will be thrown if a failure occurs.

Applies to

DownloadContent(BlobRequestConditions, CancellationToken)

The DownloadContent(BlobRequestConditions, CancellationToken) operation downloads a blob from the service, including its metadata and properties.

For more information, see Get Blob.

public virtual Azure.Response<Azure.Storage.Blobs.Models.BlobDownloadResult> DownloadContent (Azure.Storage.Blobs.Models.BlobRequestConditions conditions = default, System.Threading.CancellationToken cancellationToken = default);
abstract member DownloadContent : Azure.Storage.Blobs.Models.BlobRequestConditions * System.Threading.CancellationToken -> Azure.Response<Azure.Storage.Blobs.Models.BlobDownloadResult>
override this.DownloadContent : Azure.Storage.Blobs.Models.BlobRequestConditions * System.Threading.CancellationToken -> Azure.Response<Azure.Storage.Blobs.Models.BlobDownloadResult>
Public Overridable Function DownloadContent (Optional conditions As BlobRequestConditions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of BlobDownloadResult)

Parameters

conditions
BlobRequestConditions

Optional BlobRequestConditions to add conditions on downloading this blob.

cancellationToken
CancellationToken

Optional CancellationToken to propagate notifications that the operation should be cancelled.

Returns

Response<BlobDownloadResult>

A Response<T> describing the downloaded blob. Content contains the blob's data.

Remarks

A RequestFailedException will be thrown if a failure occurs.

Applies to