C#
C++
F#
VB
CloudBlockBlob.::..PutBlockListAsync Method (IEnumerable<String>, CancellationToken)(IEnumerable<String^>^, CancellationToken)(IEnumerable<String>, CancellationToken)(IEnumerable(Of String), CancellationToken)
Initiates an asynchronous operation to upload a list of blocks to a new or existing blob.
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
[DoesServiceRequestAttribute] public virtual Task PutBlockListAsync( IEnumerable<string> blockList, CancellationToken cancellationToken )
C++
public: [DoesServiceRequestAttribute] virtual Task^ PutBlockListAsync( IEnumerable<String^>^ blockList, CancellationToken cancellationToken )
[<DoesServiceRequestAttribute>] abstract PutBlockListAsync : blockList:IEnumerable<string> * cancellationToken:CancellationToken -> Task [<DoesServiceRequestAttribute>] override PutBlockListAsync : blockList:IEnumerable<string> * cancellationToken:CancellationToken -> Task
<DoesServiceRequestAttribute> Public Overridable Function PutBlockListAsync ( blockList As IEnumerable(Of String), cancellationToken As CancellationToken ) As Task
Parameters
- blockList
-
Type:
System.Collections.Generic.IEnumerable<String>System.Collections.Generic::IEnumerable<String^>^System.Collections.Generic.IEnumerable<String>System.Collections.Generic.IEnumerable(Of String)
An enumerable collection of block IDs, as Base64-encoded strings.
- 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.TaskSystem.Threading.Tasks::Task^System.Threading.Tasks.TaskSystem.Threading.Tasks.TaskA Task object that represents the asynchronous operation.