共用方式為


Compensator.BeginPrepare 方法

定義

告知 Compensating Resource Manager (CRM) 補償器,關於交易完成的準備階段和資料錄即將傳送。

public:
 virtual void BeginPrepare();
public virtual void BeginPrepare ();
abstract member BeginPrepare : unit -> unit
override this.BeginPrepare : unit -> unit
Public Overridable Sub BeginPrepare ()

範例

下列程式代碼範例示範這個方法的實作。

public:
    virtual void BeginPrepare() override 
    {
        // nothing to do
    }
public override void BeginPrepare ()
{
    // nothing to do
}
Public Overrides Sub BeginPrepare() 

End Sub

' nothing to do

適用於