DataServiceContext.EndGetReadStream Method (IAsyncResult)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

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

Public Function EndGetReadStream (
	asyncResult As IAsyncResult
) As DataServiceStreamResponse


Type: System.IAsyncResult

The result from the BeginGetReadStream operation that contains the binary data stream.

Return Value

Type: System.Data.Services.Client.DataServiceStreamResponse

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

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.

.NET Framework
Available since 3.5
Available since 4.0
Return to top