Delen via


OrganizationServiceContext.OnSaveChanges-methode

Van toepassing op: CRM 2015 on-prem, CRM Online

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

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

Syntaxis

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

Parameters

Opmerkingen

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

Thread-veiligheid

Alle openbare statische (Shared in Visual Basic) leden van dit type zijn thread-veilig. Exemplaarleden zijn niet gegarandeerd thread-veilig.

Platforms

Ontwikkelplatforms

Windows Vista, Windows Server 2003, en

Doelplatforms

Windows Vista,Windows XP

Zie ook

Verwijzing

OrganizationServiceContext-klasse
OrganizationServiceContext-leden
Microsoft.Xrm.Sdk.Client-naamruimte

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