This documentation is archived and is not being maintained.

TraceListener Constructor

.NET Framework 1.1

Initializes a new instance of the TraceListener class.

Overload List

Initializes a new instance of the TraceListener class.

Supported by the .NET Compact Framework.

[Visual Basic] Protected Sub New()
[C#] protected TraceListener();
[C++] protected: TraceListener();
[JScript] protected function TraceListener();

Initializes a new instance of the TraceListener class using the specified name as the listener.

Supported by the .NET Compact Framework.

[Visual Basic] Protected Sub New(String)
[C#] protected TraceListener(string);
[C++] protected: TraceListener(String*);
[JScript] protected function TraceListener(String);

See Also

TraceListener Class | TraceListener Members | System.Diagnostics Namespace

Show: