Compensator.BeginCommit(Boolean) Méthode

Définition

Notifie le compensateur CRM (Compensating Resource Manager) de la phase de validation de l'exécution de la transaction et de la remise d'enregistrements à venir.

public:
 virtual void BeginCommit(bool fRecovery);
public virtual void BeginCommit (bool fRecovery);
abstract member BeginCommit : bool -> unit
override this.BeginCommit : bool -> unit
Public Overridable Sub BeginCommit (fRecovery As Boolean)

Paramètres

fRecovery
Boolean

true pour commencer la phase de validation ; sinon, false.

Exemples

L’exemple de code suivant illustre l’implémentation de cette méthode.

public:
    virtual void BeginCommit(bool commit) override
    {
        // nothing to do
    }
public override void BeginCommit (bool commit)
{
    // nothing to do
}
Public Overrides Sub BeginCommit(ByVal commit As Boolean) 

End Sub

' nothing to do

S’applique à