This documentation is archived and is not being maintained.
PowerModes Enumeration
.NET Framework 1.1
Specifies how the operating system power mode changes.
[Visual Basic] <Serializable> Public Enum PowerModes [C#] [Serializable] public enum PowerModes [C++] [Serializable] __value public enum PowerModes [JScript] public Serializable enum PowerModes
Members
| Member name | Description |
|---|---|
| Resume | The operating system is about to resume. |
| StatusChange | The power mode status of the operating system has changed. This might indicate a weak or charging battery, a transition from AC power from battery, or other change in the status of the system power supply. |
| Suspend | The operating system is about to be suspended. |
Requirements
Namespace: Microsoft.Win32
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: System (in System.dll)
See Also
Show: