Mode Changed Event Args Class
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides data for the PowerModeChanged event.
public ref class PowerModeChangedEventArgs : EventArgs
public class PowerModeChangedEventArgs : EventArgs
type PowerModeChangedEventArgs = class
Public Class PowerModeChangedEventArgs
A PowerModeChanged event is raised when the user suspends or resumes the operating system, or when a system power status notification occurs. A system power status notification can occur when a weak or charging power source is detected, or when a transition from AC or battery power source occurs.
Initializes a new instance of the PowerModeChangedEventArgs class using the specified power mode event type.
Gets an identifier that indicates the type of the power mode event that has occurred.
Determines whether the specified object is equal to the current object.(Inherited from Object)
Serves as the default hash function.(Inherited from Object)
Gets the Type of the current instance.(Inherited from Object)
Creates a shallow copy of the current Object.(Inherited from Object)
Returns a string that represents the current object.(Inherited from Object)