Redigera

Dela via


DataServiceContext.EndSaveChanges(IAsyncResult) Method

Definition

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

public:
 System::Data::Services::Client::DataServiceResponse ^ EndSaveChanges(IAsyncResult ^ asyncResult);
public System.Data.Services.Client.DataServiceResponse EndSaveChanges (IAsyncResult asyncResult);
member this.EndSaveChanges : IAsyncResult -> System.Data.Services.Client.DataServiceResponse
Public Function EndSaveChanges (asyncResult As IAsyncResult) As DataServiceResponse

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