C# 클래스 Taskling.CriticalSection.CriticalSectionContext

상속: ICriticalSectionContext
파일 보기 프로젝트 열기: Vanlightly/Taskling.NET

공개 메소드들

메소드 설명
Complete ( ) : void
CriticalSectionContext ( ICriticalSectionRepository criticalSectionRepository, TaskExecutionInstance taskExecutionInstance, TaskExecutionOptions taskExecutionOptions, CriticalSectionType criticalSectionType ) : System
Dispose ( ) : void
IsActive ( ) : bool
TryStart ( ) : bool
TryStart ( System.TimeSpan retryInterval, int numberOfAttempts ) : bool

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
TryStartCriticalSection ( ) : bool
ValidateOptions ( ) : void

메소드 상세

Complete() 공개 메소드

public Complete ( ) : void
리턴 void

CriticalSectionContext() 공개 메소드

public CriticalSectionContext ( ICriticalSectionRepository criticalSectionRepository, TaskExecutionInstance taskExecutionInstance, TaskExecutionOptions taskExecutionOptions, CriticalSectionType criticalSectionType ) : System
criticalSectionRepository ICriticalSectionRepository
taskExecutionInstance Taskling.ExecutionContext.TaskExecutionInstance
taskExecutionOptions Taskling.Tasks.TaskExecutionOptions
criticalSectionType CriticalSectionType
리턴 System

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

IsActive() 공개 메소드

public IsActive ( ) : bool
리턴 bool

TryStart() 공개 메소드

public TryStart ( ) : bool
리턴 bool

TryStart() 공개 메소드

public TryStart ( System.TimeSpan retryInterval, int numberOfAttempts ) : bool
retryInterval System.TimeSpan
numberOfAttempts int
리턴 bool