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.191-beta+925724bd48239ba1d4417fe63f8c4977892ab734
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