Debug.Assert Method (Boolean, String, String)
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,
stringmessage,
stringdetailedMessage
)
Parameters
- condition
The condition to be evaluated. If the return value is true, program execution stops. - message
The text to be displayed if the assertion is true. - detailedMessage
The detailed message to be displayed if the assertion is true.
Version Information
Available in .NET Micro Framework version 2.0, 2.5