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
載入作業的回應。
備註
如果在要求期間或處理來自資料服務的要求時發生錯誤,則會擲回例外狀況 (Exception)。