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

Inheritance: IEnlistmentNotification
Mostra file Open project: dotnet/corefx

Public Methods

Method 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 method

public Commit ( Enlistment enlistment ) : void
enlistment Enlistment
return void

InDoubt() public method

public InDoubt ( Enlistment enlistment ) : void
enlistment Enlistment
return void

MyEnlistment() public method

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
return System.Diagnostics

Prepare() public method

public Prepare ( PreparingEnlistment preparingEnlistment ) : void
preparingEnlistment PreparingEnlistment
return void

Rollback() public method

public Rollback ( Enlistment enlistment ) : void
enlistment Enlistment
return void