DataServiceContext.EndGetReadStream(IAsyncResult) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.