OrganizationServiceContext.OnSaveChanges(SaveChangesResultCollection) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.