Share via


Méthode OrganizationServiceContext.OnSaveChanges

S'applique à: CRM 2015 on-prem, CRM Online

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

Espace de noms: Microsoft.Xrm.Sdk.Client
Assembly: Microsoft.Xrm.Sdk (dans Microsoft.Xrm.Sdk.dll)

Syntaxe

'Déclaration
Protected Overridable Sub OnSaveChanges ( _
    results As SaveChangesResultCollection _
)
protected virtual void OnSaveChanges (
    SaveChangesResultCollection results
)

Paramètres

Remarques

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

Cohérence de thread

Tous les membres statiques publics (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres d'instance ne sont pas garantis thread-safe.

Plateformes

Plateformes de développement

Windows Vista, Windows Server 2003 et

Plateformes cibles

Windows Vista,Windows XP

Voir aussi

Référence

Classe OrganizationServiceContext
Membres OrganizationServiceContext
Espace de noms Microsoft.Xrm.Sdk.Client

Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.