Timer Constructor

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the Timer class.

Namespace:   System.Threading
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodTimer(TimerCallback)

Initializes a new instance of the Timer class with an infinite period and an infinite due time, using the newly created Timer object as the state object.

System_CAPS_pubmethodTimer(TimerCallback, Object, Int32, Int32)

Initializes a new instance of the Timer class, using a 32-bit signed integer to specify the time interval.

System_CAPS_pubmethodTimer(TimerCallback, Object, Int64, Int64)

Initializes a new instance of the Timer class, using 64-bit signed integers to measure time intervals.

System_CAPS_pubmethodTimer(TimerCallback, Object, TimeSpan, TimeSpan)

Initializes a new instance of the Timer class, using TimeSpan values to measure time intervals.

System_CAPS_pubmethodTimer(TimerCallback, Object, UInt32, UInt32)

Initializes a new instance of the Timer class, using 32-bit unsigned integers to measure time intervals.

Return to top
Show: