Skip to main content

Windows Dev Center

PnpObjectWatcher.EnumerationCompleted | enumerationcompleted event

Occurs when the enumeration of Pnp device objects has been completed.

Syntax


function onEnumerationCompleted(eventArgs) { /* Your code */ }
 
// addEventListener syntax
pnpObjectWatcher.addEventListener("enumerationcompleted", onEnumerationCompleted);
pnpObjectWatcher.removeEventListener("enumerationcompleted", onEnumerationCompleted);
 
- or -

pnpObjectWatcher.onenumerationcompleted = onEnumerationCompleted;

public event TypedEventHandler<PnpObjectWatcher, Object> EnumerationCompleted

Public Event EnumerationCompleted As TypedEventHandler(Of PnpObjectWatcher, Object)

public:
event TypedEventHandler<PnpObjectWatcher, Object>^ EnumerationCompleted {
   Windows::Foundation::EventRegistrationToken add(TypedEventHandler<PnpObjectWatcher, Object>^ value);
   void remove(Windows::Foundation::EventRegistrationToken token);
}

Event information

Delegate TypedEventHandler<PnpObjectWatcher, Object>

Requirements ( device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Devices.Enumeration.Pnp
Windows::Devices::Enumeration::Pnp [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Devices.Enumeration.Pnp
Windows::Devices::Enumeration::Pnp [C++]

Metadata

Windows.winmd

See also

PnpObjectWatcher