DeviceAccessChangedEventArgs class

Applies to Windows and Windows Phone

Provides data for the AccessChanged event.

Syntax


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

Attributes

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

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

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

See also

Object

 

 

Show:
© 2014 Microsoft