PowerState.OnRebootEvent Event
Notifies listeners prior to a device reboot (soft or hard).
Namespace: Microsoft.SPOT.Hardware
Assembly: Microsoft.SPOT.Hardware (in microsoft.spot.hardware.dll)
Syntax
public static event RebootEventHandler OnRebootEvent
Remarks
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.
Version Information
Available in the .NET Micro Framework versions 4.0, 4.1, and 4.2.
See Also
Reference
PowerState Class
PowerState Members
Microsoft.SPOT.Hardware Namespace