共用方式為


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 引進)

適用於