Name
PowerModeChangedEventHandler
Synopsis
This delegate defines the signature that an event handler must use in order to
receive the SystemEvents.PowerModeChanged
event. This
event is raised when the computer enters or exits suspend mode, and when the
power consumption level changes. A computer requires Advanced Power Management
(APM) or Advanced Configuration and Power Interface (ACPI) support in order
to use these operating system features. APM/ACPI is usually supported on
(but not restricted to) portable computers and devices.
public delegate void PowerModeChangedEventHandler( object sender, PowerModeChangedEventArgs e);
Associated Events
SystemEvents.PowerModeChanged()
Get C# in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.