Edit

Share via


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

Definition

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

public:
 IAsyncResult ^ BeginExecute(AsyncCallback ^ callback, System::Object ^ state);
public IAsyncResult BeginExecute (AsyncCallback callback, object state);
override this.BeginExecute : AsyncCallback * obj -> IAsyncResult
Public Function BeginExecute (callback As AsyncCallback, state As Object) As IAsyncResult

Parameters

callback
AsyncCallback

The delegate to invoke when the operation completes.

state
Object

User defined object used to transfer state between the start of the operation and the callback defined by callback.

Returns

An IAsyncResult that represents the status of the asynchronous operation.

Applies to