Share via


DataServiceContext.EndExecuteBatch Method

Called to complete the BeginExecuteBatch.

Namespace:  System.Data.Services.Client
Assembly:  Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)

Syntax

'Declaration
Public Function EndExecuteBatch ( _
    asyncResult As IAsyncResult _
) As DataServiceResponse
'Usage
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

Parameters

Return Value

Type: System.Data.Services.Client.DataServiceResponse
The DataServiceResult object that indicates the result of the batch operation.

Remarks

Submits a group of queries as a batch to the data service. Individual query responses are represented as DataServiceResponse objects derived from OperationResponse that can be accessed from the DataServiceResponse instance.

See Also

Reference

DataServiceContext Class

System.Data.Services.Client Namespace