Compensator.BeginAbort(Boolean) 方法

定义

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

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

参数

fRecovery
Boolean

若要开始中断阶段,则为 true;否则为 false

示例

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

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

End Sub

' nothing to do

适用于