TraceListener Constructor ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the TraceListener class.

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

protected TraceListener()

The following table shows initial property values for an instance of TraceListener.

Property

Default Value

Name

The empty string ("").

Indent

Zero.

IndentSize

Four spaces.

.NET Framework
Available since 1.1
Return to top
Show: