DeviceWatcher.Stopped Kejadian

Definisi

Peristiwa yang dimunculkan ketika operasi enumerasi telah dihentikan.

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

Jenis Acara

Berlaku untuk