This documentation is archived and is not being maintained.

DefaultTraceListener.Write Method

Writes a message to the listener.

Name Description
DefaultTraceListener.Write (Object) Writes the value of the object's ToString method to the listener you create when you implement the TraceListener class.
DefaultTraceListener.Write (String) Writes the output to the OutputDebugString function and to the Debugger.Log method.

Supported by the .NET Compact Framework.

DefaultTraceListener.Write (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.
DefaultTraceListener.Write (String, String) Writes a category name and a message to the listener you create when you implement the TraceListener class.
Show: