Export (0) Print
Expand All

Trace.Assert Method

Checks for a condition; if the condition is false, outputs messages and displays a message box that shows the call stack.

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

  NameDescription
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Assert(Boolean) Checks for a condition; if the condition is false, displays a message box that shows the call stack.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Assert(Boolean, String) Checks for a condition; if the condition is false, outputs a specified message and displays a message box that shows the call stack.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Assert(Boolean, String, String) Checks for a condition; if the condition is false, outputs two specified messages and displays a message box that shows the call stack.
Top

Community Additions

ADD
Show:
© 2014 Microsoft