CloudBlockBlob.PutBlockAsync Method (String, IInputStream, String)

Windows Runtime Azure Storage Client Library

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

Usage

Visual Basic
Dim instance As CloudBlockBlob
Dim blockId As String
Dim blockData As IInputStream
Dim contentMD5 As String
Dim returnValue As IAsyncAction

returnValue = instance.PutBlockAsync(blockId, blockData, contentMD5)

Syntax

Visual Basic
Public Function PutBlockAsync ( _
	blockId As String, _
	blockData As IInputStream, _
	contentMD5 As String _
) As IAsyncAction
C#
public IAsyncAction PutBlockAsync (
	string blockId,
	IInputStream blockData,
	string contentMD5
)
C++
public:
IAsyncAction^ PutBlockAsync (
	String^ blockId, 
	IInputStream^ blockData, 
	String^ contentMD5
)
J#
public IAsyncAction PutBlockAsync (
	String blockId, 
	IInputStream blockData, 
	String contentMD5
)
JScript
public function PutBlockAsync (
	blockId : String, 
	blockData : IInputStream, 
	contentMD5 : String
) : IAsyncAction

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