Share via


DataServiceContext.EndGetReadStream(IAsyncResult) Method

Definition

Called to complete the asynchronous operation of retrieving a binary data stream.

public virtual Microsoft.OData.Client.DataServiceStreamResponse EndGetReadStream (IAsyncResult asyncResult);
abstract member EndGetReadStream : IAsyncResult -> Microsoft.OData.Client.DataServiceStreamResponse
override this.EndGetReadStream : IAsyncResult -> Microsoft.OData.Client.DataServiceStreamResponse
Public Overridable Function EndGetReadStream (asyncResult As IAsyncResult) As DataServiceStreamResponse

Parameters

asyncResult
IAsyncResult

The result from the BeginGetReadStream(Object, DataServiceRequestArgs, AsyncCallback, Object) operation that contains the binary data stream.

Returns

An instance of DataServiceStreamResponse which contains the response stream along with its metadata.

Remarks

The method will block if the request have not finished yet.

Applies to