DataServiceActionQuerySingle<T>.EndGetValue(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 T EndGetValue (IAsyncResult asyncResult);
member this.EndGetValue : IAsyncResult -> 'T
Public Function EndGetValue (asyncResult As IAsyncResult) As 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.