DataServiceActionQuery<T>.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 BeginExecute(AsyncCallback, Object).
public System.Collections.Generic.IEnumerable<T> EndExecute (IAsyncResult asyncResult);
member this.EndExecute : IAsyncResult -> seq<'T>
Public Function EndExecute (asyncResult As IAsyncResult) As IEnumerable(Of T)
Parameters
- asyncResult
- IAsyncResult
IAsyncResult object.
Returns
The results returned by the query operation.
Exceptions
When asyncResult
is null.
When asyncResult
did not originate from this DataServiceContext instance. -or- When the EndExecute<TElement>(IAsyncResult) method was previously called.
When an error is raised either during execution of the request or when it converts the contents of the response message into objects.
When the data service returns an HTTP 404: Resource Not Found error.