Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Debug.Assert Method

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

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

Supported by the .NET Compact Framework.

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

Supported by the .NET Compact Framework.

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

Supported by the .NET Compact Framework.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft