DataServiceContext.EndGetReadStream Method
Microsoft Silverlight will reach end of support after October 2021. Learn more.
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)
Syntax
'Declaration
Public Function EndGetReadStream ( _
asyncResult As IAsyncResult _
) As DataServiceStreamResponse
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.
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.
Version Information
Silverlight
Supported in: 5, 4
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.