UserPresenceStatus 列挙型
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
アプリのセッションに関連付けられているユーザーの状態を表す値を定義します。
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に対応します。
適用対象
こちらもご覧ください
- UserPresenceStatus
- UserPresenceStatusChanged
- アプリ ライフサイクル API を使用して Power Management を
する