Compensator.BeginCommit(Boolean) Method

Definition

Notifies the Compensating Resource Manager (CRM) Compensator of the commit phase of the transaction completion and the upcoming delivery of records.

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)

Parameters

fRecovery
Boolean

true to begin commit phase; otherwise, false.

Examples

The following code example demonstrates the implementation of this method.

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

Applies to