C# 클래스 WebApplications.Utilities.Threading.AsyncTimer.TimeOuts

Holds together timeout information in an immutable object for thread safety.
파일 보기 프로젝트 열기: webappsuk/CoreLibraries

공개 프로퍼티들

프로퍼티 타입 설명
DueTimeMs int
DueTimeStamp long
MinimumGapMs int
PeriodMs int
TimeStamp long

공개 메소드들

메소드 설명
TimeOuts ( System.Duration period, System.Duration dueTime, System.Duration minimumGap, long timeStamp, long dueTimeStamp = null ) : System

Initializes a new instance of the TimeOuts class.

메소드 상세

TimeOuts() 공개 메소드

Initializes a new instance of the TimeOuts class.
public TimeOuts ( System.Duration period, System.Duration dueTime, System.Duration minimumGap, long timeStamp, long dueTimeStamp = null ) : System
period System.Duration The period.
dueTime System.Duration The due time.
minimumGap System.Duration The minimum gap.
timeStamp long The time stamp.
dueTimeStamp long The due time stamp.
리턴 System

프로퍼티 상세

DueTimeMs 공개적으로 프로퍼티

The due time (in milliseconds) between the last time the timeouts were changed (see TimeStamp) and the start of the task invocation.
public int DueTimeMs
리턴 int

DueTimeStamp 공개적으로 프로퍼티

The time stamp (in Duration">duration ticks), for If M:Change was called and the DueTime was not updated, this field will have the same value as in the old TimeOut. Otherwise, this will be equal to the TimeStamp + DueTimeMs (converted to ticks)
public long DueTimeStamp
리턴 long

MinimumGapMs 공개적으로 프로퍼티

The minimum gap (in milliseconds) between the start of the task invocation and the end of the previous task invocation.
public int MinimumGapMs
리턴 int

PeriodMs 공개적으로 프로퍼티

The minimum gap (in milliseconds) between the start of the task invocation and the start of the previous task invocation.
public int PeriodMs
리턴 int

TimeStamp 공개적으로 프로퍼티

The time stamp (in duration ticks), for when these timeouts were set.
public long TimeStamp
리턴 long