UserWatcher.Stopped 事件

定义

当用户观察程序停止时触发。

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

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

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

事件类型

适用于