PrecisionTimerResolution Property

Gets or sets the PrecisionTimer resolution, in milliseconds.

Definition

Namespace: Gemstone
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.128 -- Release Build+d050cfc5563c89a1188cc3c6b2d417530856f490
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