Inside the class setting is TraceSourceused . For instance. method sources :AutoFlushTraceTraceSource.TraceEvent
for (int j = 0; j < this.listeners.Count; j++)
{
TraceListener listener = this.listeners[j];
listener.TraceEvent(eventCache, this.Name, eventType, id, format, args);
if (Trace.AutoFlush)
{
listener.Flush();
}
}
So, all you have to do is set Trace.AutoFlushto true. BTW is also listed on MSDN :
Trace , IndentSize AutoFlush .