DataServiceContext.EndSaveChanges Method (IAsyncResult)


Called to complete the BeginSaveChanges operation.

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

Public Function EndSaveChanges (
	asyncResult As IAsyncResult
) As DataServiceResponse


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.

.NET Framework
Available since 3.5
Available since 2.0
Return to top