AppDiagnosticInfoWatcher.Stopped 事件

定義

AppDiagnosticInfoWatcher 停止監看變更時引發的事件。

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

事件類型

Windows 需求

應用程式功能
appDiagnostics

適用於

另請參閱