Freigeben über


DeviceWatcher.Stopped Ereignis

Definition

Ereignis, das ausgelöst wird, wenn der Enumerationsvorgang beendet wurde.

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

Ereignistyp

Gilt für: