Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DeviceWatcher.Removed | removed event

Event that is raised when a device is removed from the collection of enumerated devices.

Syntax

Public Event Removed As TypedEventHandler(Of DeviceWatcher, DeviceInformationUpdate)

Event information

Delegate TypedEventHandler<DeviceWatcher, DeviceInformationUpdate>

Remarks

Note  An app must subscribe to all of the added, removed, and updated events to be notified when there are device additions, removals or updates. If an app handles only the added event, it will not receive an update if a device is added to the system after the initial device enumeration completes.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Namespace

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

Metadata

Windows.winmd

See also

DeviceWatcher

 

 

Show:
© 2014 Microsoft. All rights reserved.