Click or drag to resize

EventTimer Class

Using any .NET timer classes other than the EventTimer could cause the unexpected behavior in Axiom clients, or in some cases crash the Axiom service. Also note that any long running callbacks may affect Axiom clients or servers negatively. This timer executes code in a thread safe manner that also implements a try/catch wrapper around the timer callback execution.
Inheritance Hierarchy
SystemObject
  AxiomCore2.EventsEventTimer

Namespace: AxiomCore2.Events
Assembly: Canary.Axiom.Session (in Canary.Axiom.Session.exe) Version: 25.6.0.25344+3070493948bf7d32a86bd3e9a8bcf4cc9a5b1929
Syntax
C#
public sealed class EventTimer : IDisposable

The EventTimer type exposes the following members.

Constructors
 NameDescription
Public methodEventTimer Initializes a new instance of the EventTimer class, using a 32-bit signed integer to specify the time interval.
Top
Methods
 NameDescription
Public methodChange Changes the start time and the interval between method invocations for a timer, using 32-bit signed integers to measure time intervals.
Public methodDispose Releases all resources used by the current instance of EventTimer.
Top
Fields
 NameDescription
Public fieldStatic memberCode exampleInfinite A constant used to specify an infinite waiting period, for threading methods that accept an Int32 parameter.
Top
See Also