DataServiceContext.EndExecuteBatch(IAsyncResult) Method

Definition

public:
 System::Data::Services::Client::DataServiceResponse ^ EndExecuteBatch(IAsyncResult ^ asyncResult);
public System.Data.Services.Client.DataServiceResponse EndExecuteBatch (IAsyncResult asyncResult);
member this.EndExecuteBatch : IAsyncResult -> System.Data.Services.Client.DataServiceResponse
Public Function EndExecuteBatch (asyncResult As IAsyncResult) As DataServiceResponse

Parameters

asyncResult
IAsyncResult

An IAsyncResult that represents the status of the asynchronous operation.

Returns

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.

Applies to