C# Class WebApplications.Utilities.Threading.AsyncTimer.TimeOuts

Holds together timeout information in an immutable object for thread safety.
Afficher le fichier Open project: webappsuk/CoreLibraries

Méthodes publiques

Свойство Type Description
DueTimeMs int
DueTimeStamp long
MinimumGapMs int
PeriodMs int
TimeStamp long

Méthodes publiques

Méthode Description
TimeOuts ( System.Duration period, System.Duration dueTime, System.Duration minimumGap, long timeStamp, long dueTimeStamp = null ) : System

Initializes a new instance of the TimeOuts class.

Method Details

TimeOuts() public méthode

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.
Résultat System

Property Details

DueTimeMs public_oe property

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
Résultat int

DueTimeStamp public_oe property

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
Résultat long

MinimumGapMs public_oe property

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

PeriodMs public_oe property

The minimum gap (in milliseconds) between the start of the task invocation and the start of the previous task invocation.
public int PeriodMs
Résultat int

TimeStamp public_oe property

The time stamp (in duration ticks), for when these timeouts were set.
public long TimeStamp
Résultat long