IPromotableSinglePhaseNotification.Rollback(SinglePhaseEnlistment) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
告知登記的物件正在復原交易。
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 以 Committed 或 InDoubt 回復, InvalidOperationException 則會從回呼擲回 。