DataServiceQuery.EndExecute(IAsyncResult) Metod

Definition

Anropas för att slutföra den asynkrona åtgärden att köra en datatjänstfråga.

public:
 System::Collections::IEnumerable ^ EndExecute(IAsyncResult ^ asyncResult);
public System.Collections.IEnumerable EndExecute(IAsyncResult asyncResult);
override this.EndExecute : IAsyncResult -> System.Collections.IEnumerable
member this.EndExecute : IAsyncResult -> System.Collections.IEnumerable
Public Function EndExecute (asyncResult As IAsyncResult) As IEnumerable

Parametrar

asyncResult
IAsyncResult

Resultatet från åtgärden BeginExecute(AsyncCallback, Object) som innehåller frågeresultatet.

Returer

En IEnumerable<T> som innehåller resultatet av frågeåtgärden.

Undantag

När datatjänsten returnerar felet HTTP 404: Resurs hittades inte.

Gäller för