Timer
Wisej.Web.Timer
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Implements a timer that raises an event at user-defined intervals.
public class Timer : Component
Constructors
Timer()

Initializes a new instance of the Timer class.
Timer(container)

Initializes a new instance of the Timer class together with the specified container.
Properties
Enabled

Boolean: Returns or sets whether the timer is running.
Interval

Int32: Returns or sets the time, in milliseconds, before the Tick event is raised relative to the last occurrence of the Tick event.
Tag

Object: Returns or sets an arbitrary string representing some type of user state.
Methods
Restart()

Resets the timer.
Start()

Starts the timer.
Stop()

Stops the timer.
Events
Tick

EventHandler Fired when the specified timer interval has elapsed and the timer is enabled.
Implements
All wisej components implement this interface.
Allows an object to serialize itself.
Last updated
Was this helpful?