CloudBlockBlob.DownloadBlockListAsync CloudBlockBlob.DownloadBlockListAsync CloudBlockBlob.DownloadBlockListAsync Method

Definition

Overloads

DownloadBlockListAsync() DownloadBlockListAsync() DownloadBlockListAsync()

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

DownloadBlockListAsync(CancellationToken) 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) 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) 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() DownloadBlockListAsync() 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 ();
abstract member DownloadBlockListAsync : unit -> System.Threading.Tasks.Task<seq<Microsoft.WindowsAzure.Storage.Blob.ListBlockItem>>
override this.DownloadBlockListAsync : unit -> System.Threading.Tasks.Task<seq<Microsoft.WindowsAzure.Storage.Blob.ListBlockItem>>
Public Overridable Function DownloadBlockListAsync () As Task(Of IEnumerable(Of ListBlockItem))
Returns

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

DownloadBlockListAsync(CancellationToken) 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);
abstract member DownloadBlockListAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.WindowsAzure.Storage.Blob.ListBlockItem>>
override this.DownloadBlockListAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.WindowsAzure.Storage.Blob.ListBlockItem>>
Parameters
cancellationToken
CancellationToken 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) 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);
abstract member DownloadBlockListAsync : Microsoft.WindowsAzure.Storage.Blob.BlockListingFilter * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> System.Threading.Tasks.Task<seq<Microsoft.WindowsAzure.Storage.Blob.ListBlockItem>>
override this.DownloadBlockListAsync : Microsoft.WindowsAzure.Storage.Blob.BlockListingFilter * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> System.Threading.Tasks.Task<seq<Microsoft.WindowsAzure.Storage.Blob.ListBlockItem>>
Parameters
blockListingFilter
BlockListingFilter BlockListingFilter BlockListingFilter

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

accessCondition
AccessCondition 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 BlobRequestOptions BlobRequestOptions

A BlobRequestOptions object that specifies additional options for the request.

operationContext
OperationContext 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) 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);
abstract member DownloadBlockListAsync : Microsoft.WindowsAzure.Storage.Blob.BlockListingFilter * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.WindowsAzure.Storage.Blob.ListBlockItem>>
override this.DownloadBlockListAsync : Microsoft.WindowsAzure.Storage.Blob.BlockListingFilter * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.WindowsAzure.Storage.Blob.ListBlockItem>>
Parameters
blockListingFilter
BlockListingFilter BlockListingFilter BlockListingFilter

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

accessCondition
AccessCondition 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 BlobRequestOptions BlobRequestOptions

A BlobRequestOptions object that specifies additional options for the request.

operationContext
OperationContext OperationContext OperationContext

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

cancellationToken
CancellationToken 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.

Applies to