Freigeben über


DataServiceQuery.EndExecute-Methode

Wird aufgerufen, um den asynchronen Vorgang der Ausführung einer Datendienstabfrage abzuschließen.

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

Syntax

'Declaration
Public Function EndExecute ( _
    asyncResult As IAsyncResult _
) As IEnumerable
'Usage
Dim instance As DataServiceQuery
Dim asyncResult As IAsyncResult
Dim returnValue As IEnumerable

returnValue = instance.EndExecute(asyncResult)
public IEnumerable EndExecute(
    IAsyncResult asyncResult
)
public:
IEnumerable^ EndExecute(
    IAsyncResult^ asyncResult
)
member EndExecute : 
        asyncResult:IAsyncResult -> IEnumerable 
public function EndExecute(
    asyncResult : IAsyncResult
) : IEnumerable

Parameter

Rückgabewert

Typ: System.Collections.IEnumerable
Ein IEnumerable<T>, das die Ergebnisse des Abfragevorgangs enthält.

Ausnahmen

Ausnahme Bedingung
DataServiceQueryException

Wenn der Datendienst den Fehler "HTTP 404: Ressource nicht gefunden" zurückgibt.

Siehe auch

Verweis

DataServiceQuery Klasse

System.Data.Services.Client-Namespace