Share via


DataServiceQuery.EndExecute(IAsyncResult) Method

Definition

Called to complete the asynchronous operation of executing a data service query.

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

Parameters

asyncResult
IAsyncResult

The result from the BeginExecute(AsyncCallback, Object) operation that contains the query results.

Returns

An IEnumerable<T> that contains the results of the query operation.

Exceptions

When the data service returns an HTTP 404: Resource Not Found error.

Applies to