Timer

Wisej.Web.Timer

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Implements a timer that raises an event at user-defined intervals.

public class Timer : Component

Constructors

Initializes a new instance of the Timer class.

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

NameTypeDescription

container

A IContainer that represents the container for the timer.

Properties

Boolean: Returns or sets whether the timer is running. (Default: False)

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

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

Methods

Resets the timer.

Starts the timer.

Stops the timer.

Events

EventHandler Fired when the specified timer interval has elapsed and the timer is enabled.

Implements

NameDescription

All wisej components implement this interface.

Allows an object to serialize itself.

Last updated