Share via


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) 

이벤트 유형

적용 대상