Share via


Enabled Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets or sets whether the watchdog is enabled.

Namespace:  Microsoft.SPOT.Hardware
Assembly:  Microsoft.SPOT.Hardware (in Microsoft.SPOT.Hardware.dll)

Syntax

'Declaration
Public Shared Property Enabled As Boolean
public static bool Enabled { get; set; }
public:
static property bool Enabled {
    bool get ();
    void set (bool value);
}
static member Enabled : bool with get, set
static function get Enabled () : boolean
static function set Enabled (value : boolean)

Property Value

Type: System. . :: . .Boolean
true if the watchdog is enabled; otherwise, false.

Remarks

The watchdog can be turned off if the interop method takes an indeterminate time. The watchdog does not need to be turned off for managed code, because the interpreter will ensure that the watchdog is reset.

.NET Framework Security

See Also

Reference

Watchdog Class

Microsoft.SPOT.Hardware Namespace