Freigeben über


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

Sendet asynchron eine Anforderung an den Datendienst, um die nächste Seite der Daten in einem ausgelagerten Abfrageergebnis abzurufen.

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

Syntax

'Declaration
Public Function BeginExecute(Of T) ( _
    continuation As DataServiceQueryContinuation(Of T), _
    callback As AsyncCallback, _
    state As Object _
) As IAsyncResult
'Usage
Dim instance As DataServiceContext
Dim continuation As DataServiceQueryContinuation(Of T)
Dim callback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult

returnValue = instance.BeginExecute(continuation, _
    callback, state)
public IAsyncResult BeginExecute<T>(
    DataServiceQueryContinuation<T> continuation,
    AsyncCallback callback,
    Object state
)
public:
generic<typename T>
IAsyncResult^ BeginExecute(
    DataServiceQueryContinuation<T>^ continuation, 
    AsyncCallback^ callback, 
    Object^ state
)
member BeginExecute : 
        continuation:DataServiceQueryContinuation<'T> * 
        callback:AsyncCallback * 
        state:Object -> IAsyncResult 
JScript unterstützt keine generischen Typen und Methoden.

Typparameter

  • T
    Der von der Abfrage zurückgegebene Typ.

Parameter

  • callback
    Typ: System.AsyncCallback
    Aufruf-Delegierter, wenn Ergebnisse für Clientverbrauch verfügbar sind.
  • state
    Typ: System.Object
    Benutzerdefiniertes Statusobjekt, das an den Rückruf übergeben wird.

Rückgabewert

Typ: System.IAsyncResult
IAsyncResult für den Status des Vorgangs.

Hinweise

Das angegebene DataServiceQueryContinuation<T>-Objekt enthält den URI der bei Ausführung die nächste Seite der Daten im Abfrageergebnis zurück.

Siehe auch

Verweis

DataServiceContext Klasse

BeginExecute-Überladung

System.Data.Services.Client-Namespace