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.218-beta+101eee949414e414795e55a6e73d88938f0177b8
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