Class SystemTimer
Wrapper around the System.Timers.Timer that implements the ITimer interface.
Inheritance
System.Object
SystemTimer
Namespace: EPiServer.Framework.Timers.Internal
Assembly: EPiServer.Framework.dll
Version: 12.0.3Syntax
public sealed class SystemTimer : Object, ITimer, IDisposable
Constructors
SystemTimer()
Initializes a new instance of the System
Declaration
public SystemTimer()
SystemTimer(Double)
Initializes a new instance of the System
Declaration
public SystemTimer(double interval)
Parameters
Type | Name | Description |
---|---|---|
System. |
interval | The initial interval in milliseconds to use. |
Properties
AutoReset
Declaration
public bool AutoReset { get; set; }
Property Value
Type | Description |
---|---|
System. |
Enabled
Declaration
public bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
System. |
Interval
Declaration
public double Interval { get; set; }
Property Value
Type | Description |
---|---|
System. |
Methods
Dispose()
Declaration
public void Dispose()
Events
Elapsed
Declaration
public event EventHandler<ElapsedEventArgs> Elapsed
Event Type
Type | Description |
---|---|
System. |
Implements
System.IDisposable