CloudBlockBlob.DownloadBlockListAsync Method

Definition

Overloads

DownloadBlockListAsync()

Initiates an asynchronous operation to return an enumerable collection of the blob's blocks, using the specified block list filter.

DownloadBlockListAsync(CancellationToken)

Initiates an asynchronous operation to return an enumerable collection of the blob's blocks, using the specified block list filter.

DownloadBlockListAsync(BlockListingFilter, AccessCondition, BlobRequestOptions, OperationContext)

Initiates an asynchronous operation to return an enumerable collection of the blob's blocks, using the specified block list filter.

DownloadBlockListAsync(BlockListingFilter, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation to return an enumerable collection of the blob's blocks, using the specified block list filter.

DownloadBlockListAsync()

Initiates an asynchronous operation to return an enumerable collection of the blob's blocks, using the specified block list filter.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.WindowsAzure.Storage.Blob.ListBlockItem>> DownloadBlockListAsync ();
Returns

A Task<TResult> object that is an enumerable collection of type ListBlockItem that represents the asynchronous operation.

DownloadBlockListAsync(CancellationToken)

Initiates an asynchronous operation to return an enumerable collection of the blob's blocks, using the specified block list filter.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.WindowsAzure.Storage.Blob.ListBlockItem>> DownloadBlockListAsync (System.Threading.CancellationToken cancellationToken);
Parameters
cancellationToken
CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

A Task<TResult> object that is an enumerable collection of type ListBlockItem that represents the asynchronous operation.

DownloadBlockListAsync(BlockListingFilter, AccessCondition, BlobRequestOptions, OperationContext)

Initiates an asynchronous operation to return an enumerable collection of the blob's blocks, using the specified block list filter.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.WindowsAzure.Storage.Blob.ListBlockItem>> DownloadBlockListAsync (Microsoft.WindowsAzure.Storage.Blob.BlockListingFilter blockListingFilter, Microsoft.WindowsAzure.Storage.AccessCondition accessCondition, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext);
Parameters
blockListingFilter
BlockListingFilter

A BlockListingFilter enumeration value that indicates whether to return committed blocks, uncommitted blocks, or both.

accessCondition
AccessCondition

An AccessCondition object that represents the condition that must be met in order for the request to proceed. If null, no condition is used.

options
BlobRequestOptions

A BlobRequestOptions object that specifies additional options for the request.

operationContext
OperationContext

An OperationContext object that represents the context for the current operation.

Returns

A Task<TResult> object that is an enumerable collection of type ListBlockItem that represents the asynchronous operation.

DownloadBlockListAsync(BlockListingFilter, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation to return an enumerable collection of the blob's blocks, using the specified block list filter.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.WindowsAzure.Storage.Blob.ListBlockItem>> DownloadBlockListAsync (Microsoft.WindowsAzure.Storage.Blob.BlockListingFilter blockListingFilter, Microsoft.WindowsAzure.Storage.AccessCondition accessCondition, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
Parameters
blockListingFilter
BlockListingFilter

A BlockListingFilter enumeration value that indicates whether to return committed blocks, uncommitted blocks, or both.

accessCondition
AccessCondition

An AccessCondition object that represents the condition that must be met in order for the request to proceed. If null, no condition is used.

options
BlobRequestOptions

A BlobRequestOptions object that specifies additional options for the request.

operationContext
OperationContext

An OperationContext object that represents the context for the current operation.

cancellationToken
CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

A Task<TResult> object that is an enumerable collection of type ListBlockItem that represents the asynchronous operation.