TextWriterTraceListener

TextWriterTraceListenermarshal by reference, disposable

System.Diagnostics (system.dll)class

This class writes to a System.IO.TextWriter. Use Writer to set or change the TextWriter.

public class TextWriterTraceListener : TraceListener {
// Public Constructors
   public TextWriterTraceListener( );
   public TextWriterTraceListener(System.IO.Stream stream);
   public TextWriterTraceListener(System.IO.Stream stream, string name);
   public TextWriterTraceListener(string fileName);
   public TextWriterTraceListener(string fileName, string name);
   public TextWriterTraceListener(System.IO.TextWriter writer);
   public TextWriterTraceListener(System.IO.TextWriter writer, string name);
// Public Instance Properties
   public TextWriter Writer{set; get; }
// Public Instance Methods
   public override void Close( );         
// overrides TraceListener
   public override void Flush( );         
// overrides TraceListener
   public override void Write(string message);       
// overrides TraceListener
   public override void WriteLine(string message);   
// overrides TraceListener
// Protected Instance Methods
   protected override void Dispose(bool disposing);  
// overrides TraceListener
}

Hierarchy

System.Object System.MarshalByRefObject TraceListener(System.IDisposable) TextWriterTraceListener



    Part II: Programming with the .NET Framework
    Part IV: API Quick Reference
    Chapter 26. System
     
    ASPTreeView.com
     
    Evaluation has ·ЙРЧО¶НСexpired.
    Info...