Partager via


DeviceWatcher.EnumerationCompleted Événement

Définition

Événement déclenché lorsque l’énumération des appareils se termine.

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

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

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

Type d'événement

S’applique à

Voir aussi