Click or drag to resize

PolledTimerInterval Property

The current timer interval.

Namespace:  Neon.Time
Assembly:  Neon.Common (in Neon.Common.dll) Version: 2.14.0
Syntax
public TimeSpan Interval { get; set; }

Property Value

Type: TimeSpan
Exceptions
ExceptionCondition
InvalidOperationExceptionThrown if the timer was created using the default constructor.
ArgumentExceptionThrown if the interval passed is not positive.
Remarks
Note Note
Setting a new interval causes the timer fire time to be rescheduled.
See Also