다음을 통해 공유


DeviceWatcher.EnumerationCompleted 이벤트

정의

디바이스 열거가 완료될 때 발생하는 이벤트입니다.

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

이벤트 유형

적용 대상

추가 정보