RebootDevice Method (Boolean)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
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
'Declaration
Public Shared Sub RebootDevice ( _
soft As Boolean _
)
public static void RebootDevice(
bool soft
)
public:
static void RebootDevice(
bool soft
)
static member RebootDevice :
soft:bool -> unit
public static function RebootDevice(
soft : boolean
)
Parameters
- soft
Type: System. . :: . .Boolean
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 event. With this method, there are no execution timeout constraints placed on the event handlers, so the reboot will only happen after each handler finishes.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.