Class SystemTimer
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Wrapper around the System.Timers.Timer that implements the ITimer interface.
Inheritance
System.Object
SystemTimer
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Framework.Timers.Internal
Assembly: EPiServer.Framework.dll
Version: 11.20.7Syntax
public sealed class SystemTimer : ITimer, IDisposable
Constructors
SystemTimer()
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Initializes a new instance of the SystemTimer class.
Declaration
public SystemTimer()
SystemTimer(Double)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Initializes a new instance of the SystemTimer class with the Interval set to the provided number of milliseconds.
Declaration
public SystemTimer(double interval)
Parameters
Type | Name | Description |
---|---|---|
System.Double | interval | The initial interval in milliseconds to use. |
Properties
AutoReset
Declaration
public bool AutoReset { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Enabled
Declaration
public bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Interval
Declaration
public double Interval { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
Dispose()
Declaration
public void Dispose()
Events
Elapsed
Declaration
public event EventHandler<ElapsedEventArgs> Elapsed
Event Type
Type | Description |
---|---|
System.EventHandler<ElapsedEventArgs> |
Implements
System.IDisposable