Mono Class Library: System.Diagnostics.Trace Overview | Members

System.Diagnostics.Trace.AutoFlush Property

Should TraceListener.Flush be called on the Trace.Listeners after writing each message? [Edit]

public static bool AutoFlush { set; get; }

Value

Whether or not the System.Diagnostics.TraceListener objects should be TraceListener.Flushed after each write. [Edit]

Remarks

If true, TraceListener.Flush will be invoked on each System.Diagnostics.TraceListener in the Trace.Listeners collection after any modifying operation (such as Trace.Fail, Trace.Write, Trace.WriteLine, etc.).

This value is shared with the System.Diagnostics.Debug class.

[Edit]

Requirements

Namespace: System.Diagnostics
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0