共用方式為


UserDeviceAssociation 類別

定義

包含查詢使用者與裝置之間關聯的方法。

public ref class UserDeviceAssociation abstract 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 UserDeviceAssociation 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 static class UserDeviceAssociation
Public Class UserDeviceAssociation
繼承
Object Platform::Object IInspectable UserDeviceAssociation
屬性

Windows 需求

裝置系列
Windows 10 Anniversary Edition (已於 10.0.14393.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v3.0 引進)

方法

FindUserFromDeviceId(String)

尋找與裝置相關聯的使用者。

事件

UserDeviceAssociationChanged

當使用者與裝置相關聯的使用者變更時引發。

適用於