DataServiceQuery.EndExecute(IAsyncResult) 方法

定義

呼叫以完成執行資料服務查詢的非同步作業。

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

參數

asyncResult
IAsyncResult

BeginExecute(AsyncCallback, Object) 作業結果,其中包含查詢結果。

傳回

包含查詢作業結果的 IEnumerable<T>

例外狀況

當資料服務傳回「HTTP 404:找不到資源」錯誤時。

適用於