This documentation is archived and is not being maintained.

PowerModeChangedEventArgs Class

Provides data for the PowerModeChanged event.

For a list of all members of this type, see PowerModeChangedEventArgs Members.

System.Object
   System.EventArgs
      Microsoft.Win32.PowerModeChangedEventArgs

[Visual Basic]
Public Class PowerModeChangedEventArgs
   Inherits EventArgs
[C#]
public class PowerModeChangedEventArgs : EventArgs
[C++]
public __gc class PowerModeChangedEventArgs : public EventArgs
[JScript]
public class PowerModeChangedEventArgs extends EventArgs

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Remarks

A PowerModeChanged event is raised when the user suspends or resumes the operating system.

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

PowerModeChangedEventArgs Members | Microsoft.Win32 Namespace | PowerModeChanged

Show: