Export (0) Print
Expand All

DataServiceContext.BeginExecute<T> Method (DataServiceQueryContinuation<T>, AsyncCallback, Object)

Asynchronously sends a request to the data service to retrieve the next page of data in a paged query result.

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

public IAsyncResult BeginExecute<T>(
	DataServiceQueryContinuation<T> continuation,
	AsyncCallback callback,
	Object state
)

Type Parameters

T

The type returned by the query.

Parameters

continuation
Type: System.Data.Services.Client.DataServiceQueryContinuation<T>
A DataServiceQueryContinuation<T> object that represents the next page of data to return from the data service.
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 that represents the status of the operation.

The supplied DataServiceQueryContinuation<T> object contains the URI that, when executed, returns the next page of data in the query result.

Show:
© 2014 Microsoft