PowerState.OnRebootEvent Event

Windows Automotive 5.0/5.5
Notifies listeners prior to a device reboot (soft or hard).

Namespace: Microsoft.SPOT.Hardware
Assembly: Microsoft.SPOT.Hardware (in microsoft.spot.hardware.dll)

public static event RebootEventHandler OnRebootEvent

The event handlers may have an execution constraint placed on them by the caller of the RebootDevice method. Therefore, it is recommended that the event handlers be short atomic operations.

Available in the .NET Micro Framework versions 4.0, 4.1, and 4.2.

Community Additions