DataServiceContext.EndGetReadStream Method (IAsyncResult)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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 DataServiceStreamResponse EndGetReadStream(
	IAsyncResult asyncResult
)

Parameters

asyncResult
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
Silverlight
Available since 4.0
Return to top
Show: