CloudBlockBlob.PutBlockListAsync Method (IEnumerable)

Windows Runtime Azure Storage Client Library

Uploads a list of blocks to a new or existing blob.

Namespace: Microsoft.WindowsAzure.Storage.Blob
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)

Usage

Visual Basic
Dim instance As CloudBlockBlob
Dim blockList As IEnumerable(Of String)
Dim returnValue As IAsyncAction

returnValue = instance.PutBlockListAsync(blockList)

Syntax

Visual Basic
Public Function PutBlockListAsync ( _
	blockList As IEnumerable(Of String) _
) As IAsyncAction
C#
public IAsyncAction PutBlockListAsync (
	IEnumerable<string> blockList
)
C++
public:
IAsyncAction^ PutBlockListAsync (
	IEnumerable<String^>^ blockList
)
J#
public IAsyncAction PutBlockListAsync (
	IEnumerable<String> blockList
)
JScript
public function PutBlockListAsync (
	blockList : IEnumerable<String>
) : IAsyncAction

Parameters

blockList

An enumerable collection of block IDs, as base64-encoded strings.

Return Value

An IAsyncAction that represents an asynchronous action.

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

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also