March 2002
Intermediate to advanced
864 pages
31h 8m
English
PowerModeChangedEventArgs
This class creates a custom System.EventArgs object
for the PowerModeChangedEventHandler
delegate. It provides additional information to your event handler, identifying
the new power mode that the system has entered.
public class PowerModeChangedEventArgs : EventArgs { // Public Constructors public method PowerModeChangedEventArgs(PowerModes mode); // Public Instance Properties public field PowerModes Mode{get; } }
System.Object→System.EventArgs→PowerModeChangedEventArgs
PowerModeChangedEventHandler.{BeginInvoke(), Invoke()}

Figure 25-1. The Microsoft.Win32 namespace