DeviceWatcher.Stopped イベント

定義

列挙操作が停止したときに発生するイベント。

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

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

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

イベントの種類

適用対象