PowerModeChangedEventArgs(PowerModes) Constructor
Definition
Important
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.
Initializes a new instance of the PowerModeChangedEventArgs class using the specified power mode event type.
public:
PowerModeChangedEventArgs(Microsoft::Win32::PowerModes mode);
public PowerModeChangedEventArgs (Microsoft.Win32.PowerModes mode);
new Microsoft.Win32.PowerModeChangedEventArgs : Microsoft.Win32.PowerModes -> Microsoft.Win32.PowerModeChangedEventArgs
Public Sub New (mode As PowerModes)
Parameters
- mode
- PowerModes
One of the PowerModes values that represents the type of power mode event.
Remarks
This constructor can be used to create a PowerModeChangedEventArgs that indicates a type of power mode event.
Applies to
See also
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.