Share via


OnPowerLevelChange Event

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Notifies listeners when a power level event occurs.

Namespace:  Microsoft.SPOT.Hardware
Assembly:  Microsoft.SPOT.Hardware (in Microsoft.SPOT.Hardware.dll)

Syntax

'Declaration
Public Shared Event OnPowerLevelChange As PowerLevelChangeEventHandler
public static event PowerLevelChangeEventHandler OnPowerLevelChange
public:
static  event PowerLevelChangeEventHandler^ OnPowerLevelChange {
    void add (PowerLevelChangeEventHandler^ value);
    void remove (PowerLevelChangeEventHandler^ value);
}
member OnPowerLevelChange : IEvent<PowerLevelChangeEventHandler,
    EventArgs>
JScript does not support events.

.NET Framework Security

See Also

Reference

PowerState Class

Microsoft.SPOT.Hardware Namespace