OrganizationServiceContext.OnSaveChanges Method (SaveChangesResultCollection)


Applies To: Dynamics CRM 2015

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
virtual void OnSaveChanges(
    SaveChangesResultCollection^ results
abstract OnSaveChanges : 
        results:SaveChangesResultCollection -> unit
override OnSaveChanges : 
        results:SaveChangesResultCollection -> unit
Protected Overridable Sub OnSaveChanges (
    results As SaveChangesResultCollection



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

See Also

OrganizationServiceContext Class
Microsoft.Xrm.Sdk.Client Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright