Bewerken

Delen via


DataServiceQuery<TElement>.EndExecute(IAsyncResult) Method

Definition

Ends an asynchronous query request to a data service.

public:
 System::Collections::Generic::IEnumerable<TElement> ^ EndExecute(IAsyncResult ^ asyncResult);
public System.Collections.Generic.IEnumerable<TElement> EndExecute (IAsyncResult asyncResult);
override this.EndExecute : IAsyncResult -> seq<'Element>
Public Function EndExecute (asyncResult As IAsyncResult) As IEnumerable(Of TElement)

Parameters

asyncResult
IAsyncResult

The pending asynchronous query request.

Returns

IEnumerable<TElement>

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.

Applies to