Freigeben über


UserDeviceAssociationChangedEventArgs Klasse

Definition

Enthält Informationen zu einem UserDeviceAssociationChanged-Ereignis .

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
Vererbung
Object Platform::Object IInspectable UserDeviceAssociationChangedEventArgs
Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 Anniversary Edition (eingeführt in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v3.0)

Eigenschaften

DeviceId

Ruft die ID des zugeordneten Geräts ab.

NewUser

Ruft den neuen Benutzer ab, der dem Gerät zugeordnet ist.

OldUser

Ruft den alten Benutzer ab, der dem Gerät zuvor zugeordnet war.

Gilt für: