HiResTimer(Single) Constructor

Initializes a new instance of the HiResTimer class with a specified interval.

Definition

Namespace: KGySoft.CoreLibraries
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.2.0
C#
public HiResTimer(
	float interval
)

Parameters

interval  Single
The time, in milliseconds, between events. Value must be non-negative. Fractional values are allowed.

Exceptions

ArgumentOutOfRangeExceptioninterval is negative or NaN.

See Also