Export (0) Print
Expand All

DataServiceContext.EndSaveChanges Method

Called to complete the BeginSaveChanges operation.

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

public DataServiceResponse EndSaveChanges(
	IAsyncResult asyncResult
)

Parameters

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

Return Value

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

The BatchStatusCode should be inspected to see the result of batch operations. Individual operation results can be retrieved on the operation objects returned by the DataServiceResponse enumerator.

Show:
© 2014 Microsoft