OrganizationServiceContext.OnSaveChanges Method (SaveChangesResultCollection)

 

Updated: November 29, 2016

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

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

Namespace:   Microsoft.Xrm.Sdk.Client
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

protected virtual void OnSaveChanges(
	SaveChangesResultCollection results
)

Parameters

results
Type: Microsoft.Xrm.Sdk.SaveChangesResultCollection

Type: SaveChangesResultCollection. The results of the save changes operation.

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

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

Show: