IPromotableSinglePhaseNotification.Rollback(SinglePhaseEnlistment) Méthode

Définition

Avertit un objet inscrit que la transaction est restaurée.

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)

Paramètres

singlePhaseEnlistment
SinglePhaseEnlistment

Objet SinglePhaseEnlistment utilisé pour envoyer une réponse au gestionnaire de transactions.

Remarques

Lors de la réception de cette notification, le PSPE doit toujours restaurer sa transaction interne, puis répondre avec la Aborted méthode de rappel sur le singlePhaseEnlistment paramètre. Si la PSPE répond avec Committed ou InDoubt, une InvalidOperationException réponse est levée à partir du rappel.

S’applique à