Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
WatchdogBehavior Enumeration

WatchdogBehavior Enumeration

.NET Micro Framework 3.0
Defines named ways that the system can handle watchdog events.

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

public enum WatchdogBehavior

 Member nameDescription
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_NativeIntended for native debugging, as when using the Porting Kit. Stops execution at the native level.
EnterBooterEnters the bootloader and waits for commands.
HardRebootPerforms a hardware reboot of the device.
NoneContinues execution. Might leave the system in a stalled state.
SoftRebootPerforms a software reboot of the CLR. If the device does not support soft reboot, a hard reboot will occur.

All behavior types will attempt to log a watchdog event, which can be retrieved with the LastOccurrence property on the Watchdog class.

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

Community Additions

ADD
Show:
© 2015 Microsoft