DataServiceQuery.EndExecute(IAsyncResult) Method

Definition

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

public System.Collections.IEnumerable EndExecute (IAsyncResult asyncResult);

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

Product Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1