UserPresenceStatus 枚举

定义

定义表示与应用会话关联的用户状态的值。

public enum class UserPresenceStatus
/// [Windows.Foundation.Metadata.Version(1)]
enum class UserPresenceStatus
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.System.Power.PowerNotificationsContract, 65536)]
enum class UserPresenceStatus
[Windows.Foundation.Metadata.Version(1)]
public enum UserPresenceStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.System.Power.PowerNotificationsContract), 65536)]
public enum UserPresenceStatus
var value = Microsoft.Windows.System.Power.UserPresenceStatus.present
Public Enum UserPresenceStatus
继承
UserPresenceStatus
属性

字段

名称 说明
Absent 1

用户不存在。

Present 0

用户存在。

注解

此枚举对应于 GUID_SESSION_USER_PRESENCE电源设置 GUID

适用于

另请参阅