DataServiceContext.EndExecuteBatch(IAsyncResult) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called to complete the BeginExecuteBatch(AsyncCallback, Object, DataServiceRequest[]).
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.