共用方式為


Compensator.BeginAbort(Boolean) 方法

定義

告知 Compensating Resource Manager (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

適用於