AppResourceGroupInfoWatcher.Stopped 事件

定义

当此 AppResourceGroupInfoWatcher 停止监视资源组更改时触发的事件。

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

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

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

事件类型

Windows 要求

应用功能
appDiagnostics

适用于

另请参阅