DataServiceQuery.EndExecute(IAsyncResult) Método

Definição

Chamado para concluir a operação assíncrona da execução de uma consulta de serviço de dados.Called to complete the asynchronous operation of executing a data service query.

public:
 System::Collections::IEnumerable ^ EndExecute(IAsyncResult ^ asyncResult);
public System.Collections.IEnumerable EndExecute (IAsyncResult asyncResult);
override this.EndExecute : IAsyncResult -> System.Collections.IEnumerable
member this.EndExecute : IAsyncResult -> System.Collections.IEnumerable
Public Function EndExecute (asyncResult As IAsyncResult) As IEnumerable

Parâmetros

asyncResult
IAsyncResult

O resultado da operação BeginExecute(AsyncCallback, Object) que contém os resultados da consulta.The result from the BeginExecute(AsyncCallback, Object) operation that contains the query results.

Retornos

IEnumerable

Um IEnumerable<T> que contém os resultados da operação de consulta.An IEnumerable<T> that contains the results of the query operation.

Exceções

Quando o serviço de dados retorna um erro HTTP 404: Recurso não encontrado.When the data service returns an HTTP 404: Resource Not Found error.

Aplica-se a