Share via


DataServiceQuerySingle<TElement>.EndGetValue(IAsyncResult) Method

Definition

Ends an asynchronous query request to a data service.

public virtual TElement EndGetValue (IAsyncResult asyncResult);
abstract member EndGetValue : IAsyncResult -> 'Element
override this.EndGetValue : IAsyncResult -> 'Element
Public Overridable Function EndGetValue (asyncResult As IAsyncResult) As TElement

Parameters

asyncResult
IAsyncResult

The pending asynchronous query request.

Returns

TElement

Returns the results of the query operation.

Exceptions

When the data service returns an HTTP 404: Resource Not Found error.

Applies to