public delegate void TimerCallback(object state);
This type implements ICloneable.
Defines the shape of methods that are called by an instance of the Timer class.
- A Object containing application-specific information relevant to the methods invoked by instances of this delegate, or
TimerCallbackdelegate invokes its methods once after the start time elapses, and continues invoking its methods once per period until the System.Threading.Timer.Dispose(System.Threading.WaitHandle) method is called. [Note: The start time for a Timer is passed in the dueTime parameter of the
Timerconstructors, and the period is passed via the period parameter. ]
[Note: For an example that demonstrates creating and using a
TimerCallbackdelegate, see the Timer class.]