MultiBufferMemoryStream.ReadAsync 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(Of Integer)

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

Syntax

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

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