Export (0) Print
Expand All

DefaultTraceListener.WriteLine Method

Writes a message to the listener, followed by a line terminator.

Name Description
DefaultTraceListener.WriteLine (Object) Writes the value of the object's ToString method to the listener you create when you implement the TraceListener class, followed by a line terminator.
DefaultTraceListener.WriteLine (String) Writes the output to the OutputDebugString function and to the Debugger.Log method, followed by a carriage return and line feed (\r\n).

Supported by the .NET Compact Framework.

DefaultTraceListener.WriteLine (Object, String) Writes a category name and the value of the object's ToString method to the listener you create when you implement the TraceListener class, followed by a line terminator.
DefaultTraceListener.WriteLine (String, String) Writes a category name and a message to the listener you create when you implement the TraceListener class, followed by a line terminator.

Community Additions

ADD
Show:
© 2014 Microsoft