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

 
public virtual Stream EndOpenRead(
	IAsyncResult asyncResult
)
 
public:
virtual Stream^ EndOpenRead(
	IAsyncResult^ asyncResult
)
 
abstract EndOpenRead : 
        asyncResult:IAsyncResult -> Stream
override EndOpenRead : 
        asyncResult:IAsyncResult -> Stream
 
Public Overridable 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 object 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