Windows.System.Threading.ThreadPoolTimer.CreateTimer
December 16, 2020 ยท View on GitHub
-description
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.
-parameters
-param handler
The method to call when the timer expires.
-param delay
The amount of time until the timer expires.
C++ This amount of time is specified in ticks (100-nanosecond units) using the Windows::Foundation::TimeSpan structure.
JavaScript and C# This amount of time is specified using the System.TimeSpan structure. It can be specified in ticks, or it can be specified in milliseconds, seconds, and so on.
-param destroyed
The method to call after the timer is complete.
-returns
An instance of a single-use timer.