DataServiceContext.EndExecuteBatch Method

Called to complete the BeginExecuteBatch.

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

public DataServiceResponse EndExecuteBatch(
	IAsyncResult asyncResult


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

Return Value

Type: System.Data.Services.Client.DataServiceResponse
The DataServiceResponse 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.

For an example that uses batch requests, see Querying the Data Service (WCF Data Services/Silverlight).


Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.