PowerModeChangedEventArgs Constructor (PowerModes)


Initializes a new instance of the PowerModeChangedEventArgs class using the specified power mode event type.

Namespace:   Microsoft.Win32
Assembly:  System (in System.dll)

public PowerModeChangedEventArgs(
	PowerModes mode


Type: Microsoft.Win32.PowerModes

One of the PowerModes values that represents the type of power mode event.

This constructor can be used to create a PowerModeChangedEventArgs that indicates a type of power mode event.

.NET Framework
Available since 1.1
Return to top