DataServiceContext.EndLoadProperty 方法
调用后可完成 BeginLoadProperty 操作。
命名空间: System.Data.Services.Client
程序集: Microsoft.Data.Services.Client(在 Microsoft.Data.Services.Client.dll 中)
语法
声明
Public Function EndLoadProperty ( _
asyncResult As IAsyncResult _
) As QueryOperationResponse
用法
Dim instance As DataServiceContext
Dim asyncResult As IAsyncResult
Dim returnValue As QueryOperationResponse
returnValue = instance.EndLoadProperty(asyncResult)
public QueryOperationResponse EndLoadProperty(
IAsyncResult asyncResult
)
public:
QueryOperationResponse^ EndLoadProperty(
IAsyncResult^ asyncResult
)
member EndLoadProperty :
asyncResult:IAsyncResult -> QueryOperationResponse
public function EndLoadProperty(
asyncResult : IAsyncResult
) : QueryOperationResponse
参数
- asyncResult
类型:System.IAsyncResult
表示异步操作状态的 IAsyncResult。
返回值
类型:System.Data.Services.Client.QueryOperationResponse
对加载操作的响应。
注释
如果在请求期间出错或在处理来自数据服务的响应时出错,则会引发异常。