DataServiceQuery<TElement>.EndExecute(IAsyncResult) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
終止對資料服務的非同步查詢請求。
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
待處理的非同步查詢請求。
傳回
IEnumerable<TElement>
回傳包含查詢操作結果的 。IEnumerable<T>
例外狀況
當資料服務回傳 HTTP 404:資源未找到錯誤時,