HiResTimerIgnoreElapsedThreshold Property

Gets or sets a threshold value, in milliseconds, to ignore an Elapsed event (and thus trying to catch up the timer) if the next invoke is late by the given value. Value must not be zero but fractions are allowed.
Default value: +∞.

Definition

Namespace: KGySoft.CoreLibraries
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.2.0
C#
public float IgnoreElapsedThreshold { get; set; }

Property Value

Single

Remarks

  Note

If the value of this property is too low (smaller than the execution time of the Elapsed event), it may cause that the Elapsed event is never triggered again.

Exceptions

ArgumentOutOfRangeExceptionvalue is zero or negative or NaN.

See Also