PowerModes 枚举

定义

为操作系统报告的电源模式事件定义标识符。Defines identifiers for power mode events reported by the operating system.

public enum class PowerModes
public enum PowerModes
type PowerModes = 
Public Enum PowerModes
继承
PowerModes

字段

Resume 1

操作系统即将从挂起状态继续。The operating system is about to resume from a suspended state.

StatusChange 2

一个电源模式状态的通知事件已由操作系统引发。A power mode status notification event has been raised by the operating system. 这可能指示电池电力不足或正在充电、电源正由交流电转换为电池或相反,或系统电源状态的其他更改。This might indicate a weak or charging battery, a transition between AC power and battery, or another change in the status of the system power supply.

Suspend 3

操作系统即将挂起。The operating system is about to be suspended.

注解

此枚举定义表示电源模式更改或事件类型的标识符。This enumeration defines identifiers that represent types of power mode changes or events. 此枚举的值由 PowerModeChangedEventArgs 用来指示 PowerModeChanged 事件的类型。The values of this enumeration are used by a PowerModeChangedEventArgs to indicate the type of a PowerModeChanged event.

适用于

另请参阅