DataServiceContext.EndSaveChanges(IAsyncResult) Method

Definition

Called to complete the BeginSaveChanges(AsyncCallback, Object) operation.

C#
public System.Data.Services.Client.DataServiceResponse EndSaveChanges(IAsyncResult asyncResult);

Parameters

asyncResult
IAsyncResult

An IAsyncResult that represents the status of the asynchronous operation.

Returns

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.

Applies to

Product Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1