DataServiceQuery<TElement>.BeginExecute Method

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

Starts an asynchronous network operation that executes the query that is represented by this object instance.

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

Syntax

'Declaration
Public Function BeginExecute ( _
    callback As AsyncCallback, _
    state As Object _
) As IAsyncResult
public IAsyncResult BeginExecute(
    AsyncCallback callback,
    Object state
)

Parameters

  • state
    Type: System.Object
    User-defined object used to transfer state between the start of the operation and the callback defined by callback.

Return Value

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

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

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