Share via


DataServiceQuerySingle<TElement>.BeginGetValue Method

Definition

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

public virtual IAsyncResult BeginGetValue (AsyncCallback callback, object state);
abstract member BeginGetValue : AsyncCallback * obj -> IAsyncResult
override this.BeginGetValue : AsyncCallback * obj -> IAsyncResult
Public Overridable Function BeginGetValue (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