DataServiceContext.EndLoadProperty(IAsyncResult) 方法
定义
调用以完成 BeginLoadProperty(Object, String, AsyncCallback, Object) 操作。Called to complete the BeginLoadProperty(Object, String, AsyncCallback, Object) operation.
public:
System::Data::Services::Client::QueryOperationResponse ^ EndLoadProperty(IAsyncResult ^ asyncResult);
public System.Data.Services.Client.QueryOperationResponse EndLoadProperty (IAsyncResult asyncResult);
member this.EndLoadProperty : IAsyncResult -> System.Data.Services.Client.QueryOperationResponse
Public Function EndLoadProperty (asyncResult As IAsyncResult) As QueryOperationResponse
参数
- asyncResult
- IAsyncResult
表示异步操作状态的 IAsyncResult。An IAsyncResult that represents the status of the asynchronous operation.
返回
对加载操作的响应。The response to the load operation.
注解
如果在请求期间出错或在处理来自数据服务的响应时出错,则会引发异常。If an error occurs during the request or while processing the response from the data service, an exception is thrown.