Dela via


UserDeviceAssociationChangedEventArgs Class

Definition

Contains information about a UserDeviceAssociationChanged event.

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

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Properties

DeviceId

Gets the Id of the associated device.

NewUser

Gets the new user associated with the device.

OldUser

Gets the old user previously associated with the device.

Applies to