Export (0) Print
Expand All

DataServiceQuery.BeginExecute Method

Asynchronously sends a request to execute the data service query.

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

public IAsyncResult BeginExecute(
	AsyncCallback callback,
	Object state
)

Parameters

callback
Type: System.AsyncCallback
The delegate to invoke when results are available for client consumption.
state
Type: System.Object
The 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.

The returned IAsyncResult object is used to determine when the asynchronous operation has completed. The provided callback is invoked when query results are retrieved.

Silverlight

Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft