CloudBlob.EndDownloadToByteArray Method (IAsyncResult) (Microsoft.WindowsAzure.Storage.Blob)
From Microsoft Windows Azure Storage Blob
C#
C++
F#
VB
CloudBlob.::..EndDownloadToByteArray Method (IAsyncResult)(IAsyncResult^)(IAsyncResult)(IAsyncResult)
Ends an asynchronous operation to download the contents of a blob to a byte array.
Namespace:
Microsoft.WindowsAzure.Storage.Blob
Assembly:
Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
abstract EndDownloadToByteArray :
asyncResult:IAsyncResult -> int
override EndDownloadToByteArray :
asyncResult:IAsyncResult -> int
Public Overridable Function EndDownloadToByteArray (
asyncResult As IAsyncResult
) As Integer
Parameters
- asyncResult
-
Type:
System.IAsyncResultSystem::IAsyncResult^System.IAsyncResultSystem.IAsyncResult
An IAsyncResult that references the pending asynchronous operation.
Return Value
Type:
System.Int32System::Int32System.Int32System.Int32The total number of bytes read into the buffer.
Return to top
Ends an asynchronous operation to download the contents of a blob to a byte array.
Syntax
abstract EndDownloadToByteArray : asyncResult:IAsyncResult -> int override EndDownloadToByteArray : asyncResult:IAsyncResult -> int
Public Overridable Function EndDownloadToByteArray ( asyncResult As IAsyncResult ) As Integer
Parameters
- asyncResult
-
Type:
System.IAsyncResultSystem::IAsyncResult^System.IAsyncResultSystem.IAsyncResult
An IAsyncResult that references the pending asynchronous operation.
Return Value
Type: System.Int32System::Int32System.Int32System.Int32The total number of bytes read into the buffer.