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.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
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