TraceListener::WriteLine Method

 

Writes a message, category name, or the value of an object's ToString method to the listener you create when you implement the TraceListener class, followed by a line terminator.

Namespace:   System.Diagnostics
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubmethodWriteLine(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.

System_CAPS_pubmethodWriteLine(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.

System_CAPS_pubmethodWriteLine(String^)

When overridden in a derived class, writes a message to the listener you create in the derived class, followed by a line terminator.

System_CAPS_pubmethodWriteLine(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.

Return to top
Show: