TimerElapsedHandler TimerElapsedHandler TimerElapsedHandler Delegate

Definition

Represents a method that is called when a timer created with CreateTimer or CreatePeriodicTimer expires.

public : delegate void TimerElapsedHandler(ThreadPoolTimer timer)
public delegate void TimerElapsedHandler(ThreadPoolTimer timer)
Public Delegate TimerElapsedHandler(timer As ThreadPoolTimer)
Parameters
timer
ThreadPoolTimer ThreadPoolTimer ThreadPoolTimer

The timer to associate with this method. When this timer expires, the method is called.

Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

When a timer is canceled, pending TimerElapsedHandler delegates are also canceled. TimerElapsedHandler delegates that are already running are allowed to finish.