Share via


Assert Method

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

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

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

Top

See Also

Reference

Debug Class

Microsoft.SPOT Namespace