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. 這可能表示電力微弱、電池充電中、AC 電源與電池之間的轉換,或是系統電源供應狀態的其他變更。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 來表示事件的類型 PowerModeChangedThe values of this enumeration are used by a PowerModeChangedEventArgs to indicate the type of a PowerModeChanged event.

適用於

另請參閱