PowerState.RebootDevice Method (Boolean)
Enables the caller to force a soft or hard reboot of the device, with no execution timeout constraint.
Namespace: Microsoft.SPOT.Hardware
Assembly: Microsoft.SPOT.Hardware (in microsoft.spot.hardware.dll)
Syntax
public static void RebootDevice (
boolsoft
)
Parameters
- soft
true indicates that the reboot request is for a soft reboot; false indicates hard reboot. Some devices might not support soft reboot.
Remarks
This method raises the OnRebootEvent. With this method, there are no execution timeout constraints placed on the event handlers, so the reboot will only happen after each handler finishes.
Version Information
Available in the .NET Micro Framework versions 4.0 and 4.1.
See Also
Reference
PowerState Class
PowerState Members
Microsoft.SPOT.Hardware Namespace