Export (0) Print
Expand All

DataServiceContext.BeginGetReadStream Method (Object, String, DataServiceRequestArgs, AsyncCallback, Object)

WCF Data Services 5.0

Asynchronously gets a named binary data stream that belongs to the specified entity, by using the specified message headers.

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

public IAsyncResult BeginGetReadStream(
	Object entity,
	string name,
	DataServiceRequestArgs args,
	AsyncCallback callback,
	Object state
)

Parameters

entity
Type: System.Object
The entity that has the binary data stream to retrieve.
name
Type: System.String
The name of the binary stream to request.
args
Type: System.Data.Services.Client.DataServiceRequestArgs
Instance of the DataServiceRequestArgs class that contains settings for the HTTP request message.
callback
Type: System.AsyncCallback
Delegate to invoke when results are available for client consumption.
state
Type: System.Object
User-defined state object passed to the callback.

Return Value

Type: System.IAsyncResult
An IAsyncResult object that is used to track the status of the asynchronous operation.
Show:
© 2014 Microsoft