Debug.Assert Method

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

Overload List

Name Description
Debug.Assert (Boolean) Causes a break in execution if the specified assertion (condition) evaluates to false.
Debug.Assert (Boolean, String) Causes a break in execution if the specified assertion (condition) evaluates to false.
Debug.Assert (Boolean, String, String) Causes a break in execution if the specified assertion (condition) evaluates to false.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.

See Also

Reference

Debug Class
Debug Members
Microsoft.SPOT Namespace