TextWriterTraceListener Constructor ()
Assembly: System (in System.dll)
The following example creates a TextWriterTraceListener using the constructor. It sets the Writer property to console output, and then adds the TextWriterTraceListener to the TraceListenerCollection. It writes a message in two segments, and then closes the TextWriterTraceListener.
Available since 10
Available since 1.1