DeviceAccessChangedEventArgs Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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 |