Mono Class Library: System.Threading Namespace

System.Threading.TimerCallback Delegate

Defines the shape of methods that are called by an instance of the System.Threading.Timer class. [Edit]
[System.Runtime.InteropServices.ComVisible(true)]
public delegate void TimerCallback (object state)

Parameters

state
A object containing application-specific information relevant to the methods invoked by instances of this delegate, or null . [Edit]

Remarks

A TimerCallback delegate invokes its methods once after the start time elapses, and continues invoking its methods once per period until the Timer.Dispose(WaitHandle) method is called.

Note: The start time for a System.Threading.Timer is passed in the dueTime parameter of the Timer constructors, and the period is passed via the period parameter.

Note: For an example that demonstrates creating and using a TimerCallback delegate, see the System.Threading.Timer class.

[Edit]

Requirements

Namespace: System.Threading
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0