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

Holds together timeout information in an immutable object for thread safety.
显示文件 Open project: webappsuk/CoreLibraries

Public Properties

Property Type Description
DueTimeMs int
DueTimeStamp long
MinimumGapMs int
PeriodMs int
TimeStamp long

Public Methods

Method 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 method

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.
return 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
return 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
return 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
return 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
return int

TimeStamp public_oe property

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