Export (0) Print
Expand All

DataServiceQuery<TElement>.EndExecute Method

Ends an asynchronous query request to a data service.

Namespace:  System.Data.Services.Client
Assembly:  Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)

public IEnumerable<TElement> EndExecute(
	IAsyncResult asyncResult
)

Parameters

asyncResult
Type: System.IAsyncResult
The pending asynchronous query request.

Return Value

Type: System.Collections.Generic.IEnumerable<TElement>
Returns an IEnumerable<T> that contains the results of the query operation.

ExceptionCondition
DataServiceQueryException

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

Show:
© 2014 Microsoft