Click or drag to resize

PrecisionTimerResolution Property

Gets or sets the PrecisionTimer resolution, in milliseconds.

Namespace: GSF
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.232-beta+203aa83a5a82d50f387e69875549969ad138d6e0
Syntax
public int Resolution { get; set; }
View Source

Property Value

Int32
Exceptions
ExceptionCondition
ObjectDisposedException If the timer has already been disposed.
Remarks

The resolution is in milliseconds. The resolution increases with smaller values; a resolution of 0 indicates periodic events should occur with the greatest possible accuracy. To reduce system overhead, however, you should use the maximum value appropriate for your application.

This property is currently ignored under Mono deployments.

See Also