Name
PowerModeChangedEventHandler
Synopsis
This delegate defines the signature that an event handler must use 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 Sub PowerModeChangedEventHandler(
ByVal sender As Object,
ByVal e As PowerModeChangedEventArgs)
Associated Events
SystemEvents.PowerModeChanged()
Get VB.NET Core Classes 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.