C# Класс WebApplications.Utilities.Threading.AsyncTimer.TimeOuts

Holds together timeout information in an immutable object for thread safety.
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
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