DataServiceQuery.EndExecute(IAsyncResult) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.