Share via


Debug.Assert Method (Boolean)

Causes a break in execution if the specified assertion (condition) evaluates to false.

Namespace: Microsoft.SPOT
Assembly: Microsoft.SPOT.Native (in microsoft.spot.native.dll)

Syntax

[ConditionalAttribute]
public static void Assert (
         boolcondition
)

Parameters

  • condition
    The condition to be evaluated. If the return value is true, program execution stops.

Version Information

Available in .NET Micro Framework version 2.0, 2.5

See Also

Reference

Debug Class
Debug Members
Microsoft.SPOT Namespace