DataServiceQuery<TElement>.BeginExecute Method (AsyncCallback, Object)

 

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

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 the operation completes.

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.

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