Trace::WriteLineIf Method
.NET Framework (current version)
Writes information about the trace to the trace listeners in the Listeners collection if a condition is true.
Assembly: System (in System.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | WriteLineIf(Boolean, Object^) | |
![]() ![]() | WriteLineIf(Boolean, Object^, String^) | |
![]() ![]() | WriteLineIf(Boolean, String^) | Writes a message to the trace listeners in the Listeners collection if a condition is true. |
![]() ![]() | WriteLineIf(Boolean, String^, String^) | Writes a category name and message to the trace listeners in the Listeners collection if a condition is true. |
Show:

