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 singlePhaseEnlistment);
abstract member Rollback : System.Transactions.SinglePhaseEnlistment -> unit
Public Sub Rollback (singlePhaseEnlistment As SinglePhaseEnlistment)

Parâmetros

singlePhaseEnlistment
SinglePhaseEnlistment

Um SinglePhaseEnlistment objeto usado para enviar uma resposta ao gerenciador de transações.

Comentários

Ao receber essa notificação, o PSPE sempre deve 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 será gerado do retorno de chamada.

Aplica-se a