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

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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)

Syntax

'Declaration
Public Function BeginExecute(Of T) ( _
    continuation As DataServiceQueryContinuation(Of T), _
    callback As AsyncCallback, _
    state As Object _
) As IAsyncResult
public IAsyncResult BeginExecute<T>(
    DataServiceQueryContinuation<T> continuation,
    AsyncCallback callback,
    Object state
)

Type Parameters

  • T
    The type returned by the query.

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 that is passed to the callback.

Return Value

Type: System.IAsyncResult
An IAsyncResult that represents the status of the operation.

Remarks

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

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.