DataServiceQuery.EndExecute 方法

调用后可完成执行数据服务查询的异步操作。

命名空间:  System.Data.Services.Client
程序集:  Microsoft.Data.Services.Client(在 Microsoft.Data.Services.Client.dll 中)

语法

声明
Public Function EndExecute ( _
    asyncResult As IAsyncResult _
) As IEnumerable
用法
Dim instance As DataServiceQuery
Dim asyncResult As IAsyncResult
Dim returnValue As IEnumerable

returnValue = instance.EndExecute(asyncResult)
public IEnumerable EndExecute(
    IAsyncResult asyncResult
)
public:
IEnumerable^ EndExecute(
    IAsyncResult^ asyncResult
)
member EndExecute : 
        asyncResult:IAsyncResult -> IEnumerable 
public function EndExecute(
    asyncResult : IAsyncResult
) : IEnumerable

参数

返回值

类型:System.Collections.IEnumerable
包含查询操作结果的 IEnumerable<T>

异常

异常 条件
DataServiceQueryException

当数据服务返回“HTTP 404: 未找到资源”错误时。

请参阅

参考

DataServiceQuery 类

System.Data.Services.Client 命名空间