WatchdogBehavior Enumeration
Defines named ways that the system can handle watchdog events.
Namespace: Microsoft.SPOT.Hardware
Assembly: Microsoft.SPOT.Hardware (in microsoft.spot.hardware.dll)
Syntax
public enum WatchdogBehavior
Members
Member name | Description | |
---|---|---|
DebugBreak_Managed | Injects a WatchdogException into the current managed thread. This will only work for native methods that take longer than the allotted watchdog timeout. If the system is truly hung, then the exception will not be seen. | |
DebugBreak_Native | Intended for native debugging, as when using the Porting Kit. Stops execution at the native level. | |
EnterBooter | Enters the bootloader and waits for commands. | |
HardReboot | Performs a hardware reboot of the device. | |
None | Continues execution. Might leave the system in a stalled state. | |
SoftReboot | Performs a software reboot of the CLR. If the device does not support soft reboot, a hard reboot will occur. |
Remarks
All behavior types will attempt to log a watchdog event, which can be retrieved with the LastOccurrence property on the Watchdog class.
Version Information
Available in the .NET Micro Framework versions 4.0, 4.1, and 4.2.