Export (0) Print
Expand All

DataServiceContext.EndExecuteBatch Method

Called to complete the BeginExecuteBatch.

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

'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)

Parameters

asyncResult
Type: System.IAsyncResult
An IAsyncResult that represents the status of the asynchronous operation.

Return Value

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

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.

Show:
© 2014 Microsoft