ThreadPoolTimer.CreatePeriodicTimer methods

Creates periodic timers.

Overload list

MethodDescription
CreatePeriodicTimer(TimerElapsedHandler, TimeSpan) Creates a periodic timer.
CreatePeriodicTimer(TimerElapsedHandler, TimeSpan, TimerDestroyedHandler) Creates a periodic timer and specifies a method to call after the periodic timer is complete. The periodic timer is complete when the timer has expired without being reactivated, and the final call to handler has finished.

Remarks

The CreatePeriodicTimer method creates periodic timers and returns them as ThreadPoolTimer objects.

Passing in a TimeSpan value of zero (or any value less than 1 millisecond) will cause the periodic timer to behave as a single-shot timer.

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:
© 2015 Microsoft