Writes information about the trace followed by a line terminator to the trace listeners in the Listeners collection if a condition is true.
Writes a category name and the name of the value parameter followed by a line terminator to the trace listeners in the Listeners collection if a condition is true. The default line terminator is a carriage return followed by a line feed ("\r\n").
[Visual Basic] Overloads Public Shared Sub WriteLineIf(Boolean, Object, String)
[C#] public static void WriteLineIf(bool, Object, String);
[C++] public: static void WriteLineIf(bool, Object, String);
[JScript] public static function WriteLineIf(Boolean, Object, String);
Writes a message followed by a line terminator to the trace listeners in the Listeners collection if a condition is true. The default line terminator is a carriage return followed by a line feed ("\r\n").
[Visual Basic] Overloads Public Shared Sub WriteLineIf(Boolean, String)
[C#] public static void WriteLineIf(bool, String);
[C++] public: static void WriteLineIf(bool, String);
[JScript] public static function WriteLineIf(Boolean, String);
Writes the name of the value parameter followed by a line terminator to the trace listeners in the Listeners collection if a condition is true. The default line terminator is a carriage return followed by a line feed ("\r\n").
[Visual Basic] Overloads Public Shared Sub WriteLineIf(Boolean, Object)
[C#] public static void WriteLineIf(bool, Object);
[C++] public: static void WriteLineIf(bool, Object);
[JScript] public static function WriteLineIf(Boolean, Object);
Writes a category name and message followed by a line terminator to the trace listeners in the Listeners collection if a condition is true. The default line terminator is a carriage return followed by a line feed ("\r\n").
[Visual Basic] Overloads Public Shared Sub WriteLineIf(Boolean, String, String)
[C#] public static void WriteLineIf(bool, String, String);
[C++] public: static void WriteLineIf(bool, String, String);
[JScript] public static function WriteLineIf(Boolean, String, String);