Windows Dev Center

DeviceAccessChangedEventArgs class

Provides data for the AccessChanged event.

Syntax


/* For information about creating or accessing this object, see Remarks. */

Members

The DeviceAccessChangedEventArgs class has these types of members:

Properties

The DeviceAccessChangedEventArgs class has these properties.

PropertyAccess typeDescription

Status

Read-onlyThe new status of access to a device.

 

Remarks

This object is not instantiated directly, it is created by the AccessChanged event and is returned as an argument to the AccessChanged event handler.

Note  : This class is not agile, which means that you need to consider its threading model and marshaling behavior. For more info, see Threading and Marshaling (C++/CX) and Using Windows Runtime objects in a multithreaded environment (.NET).
 

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8.1 [Windows Store apps only]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps only]

Minimum supported phone

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

Namespace

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

Metadata

Windows.winmd

Attributes

[MarshalingBehavior(Agile)]
[Version(0x06030000)]

See also

Object

 

 

Show:
© 2015 Microsoft