TimerDestroyedHandler 委托

定义

表示使用 CreateTimerCreatePeriodicTimer 创建的计时器完成时调用的方法。

public delegate void TimerDestroyedHandler(ThreadPoolTimer ^ timer);
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(887953914, 33668, 20153, 130, 9, 251, 80, 148, 238, 236, 53)]
class TimerDestroyedHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(887953914, 33668, 20153, 130, 9, 251, 80, 148, 238, 236, 53)]
public delegate void TimerDestroyedHandler(ThreadPoolTimer timer);
Public Delegate Sub TimerDestroyedHandler(timer As ThreadPoolTimer)

参数

timer
ThreadPoolTimer

要与此方法关联的计时器。

属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

适用于