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.


[Visual Basic]
Public Class PowerModeChangedEventArgs
   Inherits EventArgs
public class PowerModeChangedEventArgs : EventArgs
public __gc class PowerModeChangedEventArgs : public EventArgs
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.


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


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