Displays message if condition is false.
- condition
- A boolean condition to check
- message
- A message to display
If condition is false, then TraceListener.Fail(string) is invoked on all System.Diagnostics.TraceListener objects in the Debug.Listeners collection.
Namespace: System.Diagnostics
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0