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

適用於

另請參閱