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

 
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.

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:  System.Data.Services.Client (in System.Data.Services.Client.dll)

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

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.

Type Parameters

T

The type returned by the query.

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

.NET Framework
Available since 3.5
Silverlight
Available since 4.0
Return to top
Show: