DataServiceQuery<TElement>.EndExecute(IAsyncResult) Метод
Определение
Завершает асинхронный запрос к службе данных.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)
Параметры
- asyncResult
- IAsyncResult
Ожидающий выполнения асинхронный запрос.The pending asynchronous query request.
Возвращаемое значение
- IEnumerable<TElement>
Возвращает экземпляр IEnumerable<T>, содержащий результаты выполнения операции запроса.Returns an IEnumerable<T> that contains the results of the query operation.
Исключения
Когда служба данных возвращает ошибку HTTP 404: Resource Not Found.When the data service returns an HTTP 404: Resource Not Found error.