Share via


DeviceChangedEventArgs Class

Provides data for DeviceAddedEvent and DeviceRemovedEvent.

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Usage

'Usage
Dim device As DeviceInfo
Dim deviceChangedEventArgs1 As New DeviceChangedEventArgs(device)

Syntax

'Declaration
Public Class DeviceChangedEventArgs
    Inherits EventArgs
public class DeviceChangedEventArgs : EventArgs
public ref class DeviceChangedEventArgs : public EventArgs
public class DeviceChangedEventArgs extends EventArgs
public class DeviceChangedEventArgs extends EventArgs

Remarks

The DeviceAddedEvent is a Plug and Play notification that a device has been added; DeviceRemovedEvent is a Plug and Play notification that a device has been removed.

Inheritance Hierarchy

System.Object
   System.EventArgs
    Microsoft.PointOfService.DeviceChangedEventArgs

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000

Target Platforms

See Also

Reference

DeviceChangedEventArgs Members
Microsoft.PointOfService Namespace