TraceListener Constructor (String)

 
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 using the specified name as the listener.

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

protected TraceListener(
	string name
)

Parameters

name
Type: System.String

The name of the TraceListener.

.NET Framework
Available since 1.1
Return to top
Show: