Share via


AppResourceGroupInfoWatcher.EnumerationCompleted Event

Definition

Fires when the watcher has completed enumerating the resource groups that are available to monitor.

// 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) 

Event Type

Windows requirements

App capabilities
appDiagnostics

Remarks

After enumeration is complete, the watcher will start reporting when items are added or removed.

Applies to