Returns an enumerable collection of the blob's blocks, using the specified block list filter.
Namespace: Microsoft.WindowsAzure.Storage.Blob
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Usage
Visual Basic |
---|
Dim instance As CloudBlockBlob
Dim blockListingFilter As BlockListingFilter
Dim accessCondition As AccessCondition
Dim options As BlobRequestOptions
Dim operationContext As OperationContext
Dim returnValue As IAsyncOperation(Of IEnumerable(Of ListBlockItem))
returnValue = instance.DownloadBlockListAsync(blockListingFilter, accessCondition, options, operationContext) |
Syntax
Visual Basic |
---|
Public Function DownloadBlockListAsync ( _
blockListingFilter As BlockListingFilter, _
accessCondition As AccessCondition, _
options As BlobRequestOptions, _
operationContext As OperationContext _
) As IAsyncOperation(Of IEnumerable(Of ListBlockItem)) |
C# |
---|
public IAsyncOperation<IEnumerable<ListBlockItem>> DownloadBlockListAsync (
BlockListingFilter blockListingFilter,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext operationContext
) |
C++ |
---|
public:
IAsyncOperation<IEnumerable<ListBlockItem^>^>^ DownloadBlockListAsync (
BlockListingFilter blockListingFilter,
AccessCondition^ accessCondition,
BlobRequestOptions^ options,
OperationContext^ operationContext
) |
J# |
---|
public IAsyncOperation<IEnumerable<ListBlockItem>> DownloadBlockListAsync (
BlockListingFilter blockListingFilter,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext operationContext
) |
JScript |
---|
public function DownloadBlockListAsync (
blockListingFilter : BlockListingFilter,
accessCondition : AccessCondition,
options : BlobRequestOptions,
operationContext : OperationContext
) : IAsyncOperation<IEnumerable<ListBlockItem>> |
Parameters
- blockListingFilter
One of the enumeration values that indicates whether to return committed blocks, uncommitted blocks, or both.
- accessCondition
An AccessCondition object that represents the access conditions for the blob. If null
, no condition is used.
- options
A BlobRequestOptions object that specifies additional options for the request.
- operationContext
An OperationContext object that represents the context for the current operation.
Return Value
An enumerable collection of objects implementing ListBlockItem.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
See Also