If condition is true, send message to all System.Diagnostics.TraceListener objects in the Trace.Listeners collection.
- condition
- Whether to display message
- message
- A message to display
If condition is true, invoke the TraceListener.WriteLine(string) method on all System.Diagnostics.TraceListener objects in the Trace.Listeners collection.
Namespace: System.Diagnostics
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0