Click or drag to resize

GatedTimer Constructor (TimerCallback, Object, TimeSpan, TimeSpan)

Initializes and starts the timer.

Namespace:  Neon.Time
Assembly:  Neon.Common (in Neon.Common.dll) Version: 2.14.0
Syntax
public GatedTimer(
	TimerCallback callback,
	Object state,
	TimeSpan dueTime,
	TimeSpan period
)

Parameters

callback
Type: System.ThreadingTimerCallback
The callback to be called when the timer fires.
state
Type: SystemObject
Application state.
dueTime
Type: SystemTimeSpan
Time to wait before firing the first event.
period
Type: SystemTimeSpan
Time to wait between firing events.
See Also