DeviceAccessChangedEventArgs Class

Definition

Provides data for the AccessChanged event.

public ref class DeviceAccessChangedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class DeviceAccessChangedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class DeviceAccessChangedEventArgs
Public NotInheritable Class DeviceAccessChangedEventArgs
Inheritance
Object Platform::Object IInspectable DeviceAccessChangedEventArgs
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

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.

Version history

Windows version SDK version Value added
1607 14393 Id

Properties

Id

Gets the DeviceInformation ID of the device referenced by DeviceAccessChangedEventArgs.

Status

The new status of access to a device.

UserPromptRequired

Applies to