Windows.System.Threading.ThreadPoolTimer.CreateTimer
December 16, 2020 ยท View on GitHub
-description
Creates a single-use timer.
-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.
-returns
An instance of a single-use timer.
-remarks
-examples
-see-also
CreateTimer(TimerElapsedHandler, TimeSpan, TimerDestroyedHandler)