CloudPageBlob.EndDownloadToByteArray Method

Ends an asynchronous operation to download the contents of a page blob to a byte array.

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

Syntax

'Declaration
Public Function EndDownloadToByteArray ( _
    asyncResult As IAsyncResult _
) As Integer
public int EndDownloadToByteArray (
    IAsyncResult asyncResult
)
public:
virtual int EndDownloadToByteArray (
    IAsyncResult^ asyncResult
) sealed

Parameters

  • asyncResult
    An IAsyncResult that references the pending asynchronous operation.

Return Value

The total number of bytes read into the buffer.

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 and Windows Server 2008

See Also

Reference

CloudPageBlob Class
CloudPageBlob Members
Microsoft.WindowsAzure.Storage.Blob Namespace