DataServiceQuery.EndExecute(IAsyncResult) Method

Definition

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

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

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