C# 클래스 System.Transactions.Tests.NonMsdtcPromoterTests.MyEnlistment

상속: IEnlistmentNotification
파일 보기 프로젝트 열기: dotnet/corefx

공개 메소드들

메소드 설명
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

메소드 상세

Commit() 공개 메소드

public Commit ( Enlistment enlistment ) : void
enlistment Enlistment
리턴 void

InDoubt() 공개 메소드

public InDoubt ( Enlistment enlistment ) : void
enlistment Enlistment
리턴 void

MyEnlistment() 공개 메소드

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
리턴 System.Diagnostics

Prepare() 공개 메소드

public Prepare ( PreparingEnlistment preparingEnlistment ) : void
preparingEnlistment PreparingEnlistment
리턴 void

Rollback() 공개 메소드

public Rollback ( Enlistment enlistment ) : void
enlistment Enlistment
리턴 void