Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Trace.Assert Method

Checks for a condition, and displays a message if the condition is false.

Name Description
Trace.Assert (Boolean) Checks for a condition, and outputs the call stack if the condition is false.

Supported by the .NET Compact Framework.

Trace.Assert (Boolean, String) Checks for a condition, and displays a message if the condition is false.

Supported by the .NET Compact Framework.

Trace.Assert (Boolean, String, String) Checks for a condition, and displays both messages if the condition is false.

Supported by the .NET Compact Framework.

Community Additions

ADD
Show:
© 2015 Microsoft