This documentation is archived and is not being maintained.
Trace::WriteLineIf Method
Visual Studio 2008
Writes information about the trace to the trace listeners in the Listeners collection if a condition is true.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
WriteLineIf(Boolean, Object) | Writes the value of the object's ToString method to the trace listeners in the Listeners collection if a condition is true. |
|
WriteLineIf(Boolean, String) | Writes a message to the trace listeners in the Listeners collection if a condition is true. |
|
WriteLineIf(Boolean, Object, String) | Writes a category name and the value of the object's ToString method 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: