Share via


IPromotableSinglePhaseNotification.Rollback(SinglePhaseEnlistment) Método

Definição

Notifica um objeto inscrito de que a transação está sendo revertida.

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)

Parâmetros

singlePhaseEnlistmentenlistment
SinglePhaseEnlistment

Um objeto SinglePhaseEnlistment usado para enviar uma resposta para o gerenciador de transação.

Comentários

Ao receber essa notificação, o PSPE deve sempre reverter sua transação interna e responder com o Aborted método de retorno de chamada no singlePhaseEnlistment parâmetro. Se o PSPE responder com Committed ou InDoubt, um InvalidOperationException é gerado do retorno de chamada.

Aplica-se a