C#
C++
F#
VB
CloudBlockBlob.::..DownloadBlockListAsync Method (CancellationToken)(CancellationToken)(CancellationToken)(CancellationToken)
Initiates an asynchronous operation to return an enumerable collection of the blob's blocks, using the specified block list filter.
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
[DoesServiceRequestAttribute] public virtual Task<IEnumerable<ListBlockItem>> DownloadBlockListAsync( CancellationToken cancellationToken )
C++
public: [DoesServiceRequestAttribute] virtual Task<IEnumerable<ListBlockItem^>^>^ DownloadBlockListAsync( CancellationToken cancellationToken )
[<DoesServiceRequestAttribute>] abstract DownloadBlockListAsync : cancellationToken:CancellationToken -> Task<IEnumerable<ListBlockItem>> [<DoesServiceRequestAttribute>] override DownloadBlockListAsync : cancellationToken:CancellationToken -> Task<IEnumerable<ListBlockItem>>
<DoesServiceRequestAttribute> Public Overridable Function DownloadBlockListAsync ( cancellationToken As CancellationToken ) As Task(Of IEnumerable(Of ListBlockItem))
Parameters
- cancellationToken
-
Type:
System.Threading.CancellationTokenSystem.Threading::CancellationTokenSystem.Threading.CancellationTokenSystem.Threading.CancellationToken
A CancellationToken to observe while waiting for a task to complete.
Return Value
Type: System.Threading.Tasks.Task<IEnumerable<ListBlockItem>>System.Threading.Tasks::Task<IEnumerable<ListBlockItem^>^>^System.Threading.Tasks.Task<IEnumerable<ListBlockItem>>System.Threading.Tasks.Task(Of IEnumerable(Of ListBlockItem))A Task<TResult><TResult><'TResult>(Of TResult) object that is an enumerable collection of type ListBlockItem that represents the asynchronous operation.
See Also
DownloadBlockListAsync Overload
CloudBlockBlob Class
Microsoft.WindowsAzure.Storage.Blob Namespace