CreateTimer method

ThreadPoolTimer.CreateTimer methods

Creates single-use timers.

Overload list

MethodDescription
CreateTimer(TimerElapsedHandler, TimeSpan) Creates a single-use timer.
CreateTimer(TimerElapsedHandler, TimeSpan, TimerDestroyedHandler) Creates a single-use timer and specifies a method to call after the timer is complete. The timer is complete when the timer has expired and the final call to handler has finished.

Remarks

The CreateTimer method creates single-use timers and returns them as ThreadPoolTimer objects.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.System.Threading
Windows::System::Threading [C++]

Metadata

Windows.winmd

See also

ThreadPoolTimer

 

 

Show:
© 2017 Microsoft