Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method 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.
Public method WriteLine(String) When overridden in a derived class, writes a message to the listener you create in the derived class, followed by a line terminator.
Public method 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.
Public method 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.
Top
Show:
© 2014 Microsoft