Share via


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

参数

返回值

类型:System.Data.Services.Client.DataServiceResponse
DataServiceResult 对象,指示批处理操作结果。

注释

将一组查询以批处理方式提交到数据服务。 单个查询响应表示为 DataServiceResponse 对象,派生自 OperationResponse,可通过 DataServiceResponse 实例进行访问。

请参阅

参考

DataServiceContext 类

System.Data.Services.Client 命名空间