共用方式為


IPromotableSinglePhaseNotification.Rollback(SinglePhaseEnlistment) 方法

定義

告知登記的物件正在復原交易。

public:
 void Rollback(System::Transactions::SinglePhaseEnlistment ^ singlePhaseEnlistment);
public:
 void Rollback(System::Transactions::SinglePhaseEnlistment ^ enlistment);
public void Rollback (System.Transactions.SinglePhaseEnlistment singlePhaseEnlistment);
public void Rollback (System.Transactions.SinglePhaseEnlistment enlistment);
abstract member Rollback : System.Transactions.SinglePhaseEnlistment -> unit
abstract member Rollback : System.Transactions.SinglePhaseEnlistment -> unit
Public Sub Rollback (singlePhaseEnlistment As SinglePhaseEnlistment)
Public Sub Rollback (enlistment As SinglePhaseEnlistment)

參數

singlePhaseEnlistmentenlistment
SinglePhaseEnlistment

SinglePhaseEnlistment 物件,用來傳送回應給交易管理員。

備註

收到此通知時,PSPE 應該一律回復其內部交易,然後在 參數上使用 singlePhaseEnlistment 回呼方法回復 Aborted 。 如果 PSPE 以 CommittedInDoubt 回復, InvalidOperationException 則會從回呼擲回 。

適用於