The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DelimitedListTraceListener Class

Directs tracing or debugging output to a text writer, such as a stream writer, or to a stream, such as a file stream.

Namespace: System.Diagnostics
Assembly: System (in system.dll)

public class DelimitedListTraceListener : TextWriterTraceListener
public class DelimitedListTraceListener extends TextWriterTraceListener
public class DelimitedListTraceListener extends TextWriterTraceListener
Not applicable.

The trace output is in a delimited text format that uses the delimiter specified by the Delimiter property.

You can enable or disable a DelimitedListTraceListener through the application configuration file and then use the configured DelimitedListTraceListener in your application. Alternately, you can create a DelimitedListTraceListener in your code.

To configure a DelimitedListTraceListener, edit the configuration file that corresponds to the name of your application. In this file, you can add a listener, set the properties for a listener, or remove a listener. The configuration file should be formatted like the following example:

    <trace autoflush="false" indentsize="4">
        <add name="delimitedListener" 
          traceOutputOptions="ProcessId, DateTime" />
        <remove name="Default" />

If an attempt is made to write to a file that is in use or unavailable, the file name is automatically prefixed by a GUID.


Listeners are intended to be used by methods of the Debug, Trace, and TraceSource classes to write trace information. Listener methods, other than constructors, are not intended to be called directly from application code.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0