Storage Client Library for Windows Phone (Version 7.0)

Microsoft Windows Azure Storage Blob

Ends an asynchronous operation to open a stream for reading from the blob.

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

Syntax

 
Stream EndOpenRead(
	IAsyncResult asyncResult
)
 
Stream^ EndOpenRead(
	IAsyncResult^ asyncResult
)
 
abstract EndOpenRead : 
        asyncResult:IAsyncResult -> Stream
 
Function EndOpenRead (
	asyncResult As IAsyncResult
) As Stream

Parameters

asyncResult
Type: System.IAsyncResultSystem::IAsyncResult^System.IAsyncResultSystem.IAsyncResult

An IAsyncResult that references the pending asynchronous operation.

Return Value

Type: System.IO.StreamSystem.IO::Stream^System.IO.StreamSystem.IO.Stream

A stream to be used for reading from the blob.

Remarks

On the Stream object returned by this method, the EndRead method must be called exactly once for every BeginRead call. Failing to end the read process before beginning another read process can cause unexpected behavior.

Return to top