Share via


DataServiceContext.EndGetReadStream Method

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

Namespace:  System.Data.Services.Client
Assembly:  Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)

Syntax

'Declaration
Public Function EndGetReadStream ( _
    asyncResult As IAsyncResult _
) As DataServiceStreamResponse
'Usage
Dim instance As DataServiceContext 
Dim asyncResult As IAsyncResult 
Dim returnValue As DataServiceStreamResponse 

returnValue = instance.EndGetReadStream(asyncResult)
public DataServiceStreamResponse EndGetReadStream(
    IAsyncResult asyncResult
)
public:
DataServiceStreamResponse^ EndGetReadStream(
    IAsyncResult^ asyncResult
)
member EndGetReadStream : 
        asyncResult:IAsyncResult -> DataServiceStreamResponse
public function EndGetReadStream(
    asyncResult : IAsyncResult
) : DataServiceStreamResponse

Parameters

Return Value

Type: System.Data.Services.Client.DataServiceStreamResponse
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.

See Also

Reference

DataServiceContext Class

System.Data.Services.Client Namespace