Udostępnij za pośrednictwem


OrganizationServiceContext.OnSaveChanges Method (SaveChangesResultCollection)

 

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)

Syntax

protected virtual void OnSaveChanges(
    SaveChangesResultCollection results
)
Protected Overridable Sub OnSaveChanges (
    results As SaveChangesResultCollection
)

Parameters

Remarks

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

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright