C# Class System.Transactions.Tests.NonMsdtcPromoterTests.MyEnlistment

Inheritance: IEnlistmentNotification
Afficher le fichier Open project: dotnet/corefx

Méthodes publiques

Méthode Description
Commit ( Enlistment enlistment ) : void
InDoubt ( Enlistment enlistment ) : void
MyEnlistment ( AutoResetEvent outcomeReceived, bool votePrepared = true, bool enlistDuringPrepare = false, EnlistmentOptions enlistOptions = EnlistmentOptions.None, bool expectSuccessfulEnlist = true, AutoResetEvent secondEnlistmentCompleted = null ) : System.Diagnostics
Prepare ( PreparingEnlistment preparingEnlistment ) : void
Rollback ( Enlistment enlistment ) : void

Method Details

Commit() public méthode

public Commit ( Enlistment enlistment ) : void
enlistment Enlistment
Résultat void

InDoubt() public méthode

public InDoubt ( Enlistment enlistment ) : void
enlistment Enlistment
Résultat void

MyEnlistment() public méthode

public MyEnlistment ( AutoResetEvent outcomeReceived, bool votePrepared = true, bool enlistDuringPrepare = false, EnlistmentOptions enlistOptions = EnlistmentOptions.None, bool expectSuccessfulEnlist = true, AutoResetEvent secondEnlistmentCompleted = null ) : System.Diagnostics
outcomeReceived System.Threading.AutoResetEvent
votePrepared bool
enlistDuringPrepare bool
enlistOptions EnlistmentOptions
expectSuccessfulEnlist bool
secondEnlistmentCompleted System.Threading.AutoResetEvent
Résultat System.Diagnostics

Prepare() public méthode

public Prepare ( PreparingEnlistment preparingEnlistment ) : void
preparingEnlistment PreparingEnlistment
Résultat void

Rollback() public méthode

public Rollback ( Enlistment enlistment ) : void
enlistment Enlistment
Résultat void