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)

Syntax

'Declaration
Public Function EndSaveChanges ( _
    asyncResult As IAsyncResult _
) As DataServiceResponse
'Usage
Dim instance As DataServiceContext 
Dim asyncResult As IAsyncResult 
Dim returnValue As DataServiceResponse 

returnValue = instance.EndSaveChanges(asyncResult)
public DataServiceResponse EndSaveChanges(
    IAsyncResult asyncResult
)
public:
DataServiceResponse^ EndSaveChanges(
    IAsyncResult^ asyncResult
)
member EndSaveChanges : 
        asyncResult:IAsyncResult -> DataServiceResponse
public function EndSaveChanges(
    asyncResult : IAsyncResult
) : DataServiceResponse

Parameters

Return Value

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

Remarks

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.

See Also

Reference

DataServiceContext Class

System.Data.Services.Client Namespace