MultiBufferMemoryStream.WriteAsync Method

Windows Runtime Azure Storage Client Library

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

Usage

Visual Basic
Dim instance As MultiBufferMemoryStream
Dim buffer As Byte()
Dim offset As Integer
Dim count As Integer
Dim cancellationToken As CancellationToken
Dim returnValue As Task

returnValue = instance.WriteAsync(buffer, offset, count, cancellationToken)

Syntax

Visual Basic
Public Overrides Function WriteAsync ( _
	buffer As Byte(), _
	offset As Integer, _
	count As Integer, _
	cancellationToken As CancellationToken _
) As Task
C#
public override Task WriteAsync (
	byte[] buffer,
	int offset,
	int count,
	CancellationToken cancellationToken
)
C++
public:
virtual Task^ WriteAsync (
	array<unsigned char>^ buffer, 
	int offset, 
	int count, 
	CancellationToken cancellationToken
) override
J#
public Task WriteAsync (
	byte[] buffer, 
	int offset, 
	int count, 
	CancellationToken cancellationToken
)
JScript
public override function WriteAsync (
	buffer : byte[], 
	offset : int, 
	count : int, 
	cancellationToken : CancellationToken
) : Task

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