AppDiagnosticInfoWatcher.EnumerationCompleted 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
当观察程序完成枚举可供监视的正在运行的应用列表时触发。
// Register
event_token EnumerationCompleted(TypedEventHandler<AppDiagnosticInfoWatcher, IInspectable const&> const& handler) const;
// Revoke with event_token
void EnumerationCompleted(event_token const* cookie) const;
// Revoke with event_revoker
AppDiagnosticInfoWatcher::EnumerationCompleted_revoker EnumerationCompleted(auto_revoke_t, TypedEventHandler<AppDiagnosticInfoWatcher, IInspectable const&> const& handler) const;
public event TypedEventHandler<AppDiagnosticInfoWatcher,object> EnumerationCompleted;
function onEnumerationCompleted(eventArgs) { /* Your code */ }
appDiagnosticInfoWatcher.addEventListener("enumerationcompleted", onEnumerationCompleted);
appDiagnosticInfoWatcher.removeEventListener("enumerationcompleted", onEnumerationCompleted);
- or -
appDiagnosticInfoWatcher.onenumerationcompleted = onEnumerationCompleted;
Public Custom Event EnumerationCompleted As TypedEventHandler(Of AppDiagnosticInfoWatcher, Object)
事件类型
TypedEventHandler<AppDiagnosticInfoWatcher,IInspectable>
Windows 要求
应用功能 |
appDiagnostics
|
注解
枚举完成后,观察程序将开始报告添加或删除应用的时间。