Partilhar via


OrganizationServiceContext.OnSaveChanges(SaveChangesResultCollection) Method

Definition

Virtual (Overridable) method called after an attempt to save data changes.

protected:
 virtual void OnSaveChanges(Microsoft::Xrm::Sdk::SaveChangesResultCollection ^ results);
protected virtual void OnSaveChanges (Microsoft.Xrm.Sdk.SaveChangesResultCollection results);
abstract member OnSaveChanges : Microsoft.Xrm.Sdk.SaveChangesResultCollection -> unit
override this.OnSaveChanges : Microsoft.Xrm.Sdk.SaveChangesResultCollection -> unit
Protected Overridable Sub OnSaveChanges (results As SaveChangesResultCollection)

Parameters

results
SaveChangesResultCollection

The results of the save changes operation.

Remarks

If saving of changes fails, this method is called before an exception is thrown.

Applies to