DeviceWatcher.EnumerationCompleted Kejadian
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Peristiwa yang dimunculkan saat enumerasi perangkat selesai.
// 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)
Jenis Acara
TypedEventHandler<DeviceWatcher,IInspectable>