Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

OrganizationServiceContext.OnSaveChanges(SaveChangesResultCollection) Method

Definition

Namespace:
Microsoft.Xrm.Sdk.Client
Assembly:
Microsoft.Xrm.Sdk.dll
Package:
Microsoft.PowerPlatform.Dataverse.Client v1.2.10

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.

Applies to