Writes a category name and message followed by a line terminator to the trace listeners in the Listeners collection. The default line terminator is a carriage return followed by a line feed ("\r\n").
[Visual Basic] Overloads Public Shared Sub WriteLine( _ ByVal message As String, _ ByVal category As String _ ) [C#] public static void WriteLine( string message, string category ); [C++] public: static void WriteLine( String* message, String* category ); [JScript] public static function WriteLine( message : String, category : String );
By default, the output is written to the managed code debuggers, the Microsoft.Win32.Interop.Windows.OutputDebugString API and to the Log method.
The category can be used to group output messages.
Trace Class | Trace Members | System.Diagnostics Namespace | Trace.WriteLine Overload List | Debug | Trace | BooleanSwitch | TraceSwitch | TraceListener | DefaultTraceListener | ConditionalAttribute | ConditionalAttribute