PrecisionTimerResolution Property

Gets or sets the PrecisionTimer resolution, in milliseconds.

Definition

Namespace: Gemstone
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.138 -- Release Build+dacff88cce10d287c7434d5aac59c76948c712b1
public int Resolution { get; set; }

Property Value

Int32

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.

Exceptions

ObjectDisposedException If the timer has already been disposed.

See Also