AppResourceGroupInfoWatcher.EnumerationCompleted 事件

定义

当观察程序完成枚举可用于监视的资源组时触发。

// Register
event_token EnumerationCompleted(TypedEventHandler<AppResourceGroupInfoWatcher, IInspectable const&> const& handler) const;

// Revoke with event_token
void EnumerationCompleted(event_token const* cookie) const;

// Revoke with event_revoker
AppResourceGroupInfoWatcher::EnumerationCompleted_revoker EnumerationCompleted(auto_revoke_t, TypedEventHandler<AppResourceGroupInfoWatcher, IInspectable const&> const& handler) const;
public event TypedEventHandler<AppResourceGroupInfoWatcher,object> EnumerationCompleted;
function onEnumerationCompleted(eventArgs) { /* Your code */ }
appResourceGroupInfoWatcher.addEventListener("enumerationcompleted", onEnumerationCompleted);
appResourceGroupInfoWatcher.removeEventListener("enumerationcompleted", onEnumerationCompleted);
- or -
appResourceGroupInfoWatcher.onenumerationcompleted = onEnumerationCompleted;
Public Custom Event EnumerationCompleted As TypedEventHandler(Of AppResourceGroupInfoWatcher, Object) 

事件类型

Windows 要求

应用功能
appDiagnostics

注解

枚举完成后,观察程序将开始报告添加或删除项的时间。

适用于