Bewerken

Delen via


DataServiceContext.EndGetReadStream(IAsyncResult) Method

Definition

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

public:
 System::Data::Services::Client::DataServiceStreamResponse ^ EndGetReadStream(IAsyncResult ^ asyncResult);
public System.Data.Services.Client.DataServiceStreamResponse EndGetReadStream (IAsyncResult asyncResult);
member this.EndGetReadStream : IAsyncResult -> System.Data.Services.Client.DataServiceStreamResponse
Public 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 EndGetReadStream method is called to receive the results from the BeginGetReadStream method.

The EndGetReadStream method does not complete until the response is received from the BeginGetReadStream method.

Applies to