Compensator.BeginCommit(Boolean) 方法

定义

通知补偿资源管理器 (CRM) 补偿器事务完成的提交阶段,并且通知即将传递记录。

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)

参数

fRecovery
Boolean

若要开始提交阶段,则为 true;否则为 false

示例

下面的代码示例演示此方法的实现。

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

适用于