Export (0) Print
Expand All

DefaultTraceListener.WriteLine Method

Writes a message to the listener, 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.

  NameDescription
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. (Inherited from TraceListener.)
Public method 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). (Overrides TraceListener.WriteLine(String).)
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. (Inherited from TraceListener.)
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. (Inherited from TraceListener.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft