AppDiagnosticInfoWatcher.EnumerationCompleted Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Fires when the watcher has completed enumerating the list of running apps that are available to monitor.
// 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)
Event Type
TypedEventHandler<AppDiagnosticInfoWatcher,IInspectable>
Windows requirements
App capabilities |
appDiagnostics
|
Remarks
After enumeration is complete, the watcher will start reporting when apps are added or removed.