DataServiceContext.EndExecuteBatch 方法
呼叫以完成 BeginExecuteBatch。
命名空間: System.Data.Services.Client
組件: Microsoft.Data.Services.Client (在 Microsoft.Data.Services.Client.dll 中)
語法
'宣告
Public Function EndExecuteBatch ( _
asyncResult As IAsyncResult _
) As DataServiceResponse
'用途
Dim instance As DataServiceContext
Dim asyncResult As IAsyncResult
Dim returnValue As DataServiceResponse
returnValue = instance.EndExecuteBatch(asyncResult)
public DataServiceResponse EndExecuteBatch(
IAsyncResult asyncResult
)
public:
DataServiceResponse^ EndExecuteBatch(
IAsyncResult^ asyncResult
)
member EndExecuteBatch :
asyncResult:IAsyncResult -> DataServiceResponse
public function EndExecuteBatch(
asyncResult : IAsyncResult
) : DataServiceResponse
參數
- asyncResult
型別:System.IAsyncResult
IAsyncResult ,表示非同步作業的狀態。
傳回值
型別:System.Data.Services.Client.DataServiceResponse
DataServiceResult 物件,表示批次作業的結果。
備註
以批次方式將一組查詢送出至資料服務。 個別查詢回應表示為衍生自 OperationResponse 的 DataServiceResponse 物件,可從 DataServiceResponse 執行個體存取這些物件。