Skip to main content
PnpObjectWatcher.Stopped | stopped event

Applies to Windows and Windows Phone

Occurs when the PnpObjectWatcher has stopped monitoring changes to the collection of Pnp device objects.

Syntax


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

pnpObjectWatcher.onstopped = onStopped;

public event TypedEventHandler<PnpObjectWatcher, Object> Stopped

Public Event Stopped As TypedEventHandler(Of PnpObjectWatcher, Object)

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

Event information

Delegate TypedEventHandler<PnpObjectWatcher, Object>

Requirements

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