مشاركة عبر


AppDiagnosticInfoWatcher.Stopped Event

Definition

Event that fires when this AppDiagnosticInfoWatcher stops watching for changes.

// Register
event_token Stopped(TypedEventHandler<AppDiagnosticInfoWatcher, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
AppDiagnosticInfoWatcher::Stopped_revoker Stopped(auto_revoke_t, TypedEventHandler<AppDiagnosticInfoWatcher, IInspectable const&> const& handler) const;
public event TypedEventHandler<AppDiagnosticInfoWatcher,object> Stopped;
function onStopped(eventArgs) { /* Your code */ }
appDiagnosticInfoWatcher.addEventListener("stopped", onStopped);
appDiagnosticInfoWatcher.removeEventListener("stopped", onStopped);
- or -
appDiagnosticInfoWatcher.onstopped = onStopped;
Public Custom Event Stopped As TypedEventHandler(Of AppDiagnosticInfoWatcher, Object) 

Event Type

Windows requirements

App capabilities
appDiagnostics

Applies to

See also