TraceSwitch 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 TraceSwitch class.

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

NameDescription
System_CAPS_pubmethodTraceSwitch(String, String)

Initializes a new instance of the TraceSwitch class, using the specified display name and description.

System_CAPS_pubmethodTraceSwitch(String, String, String)

Initializes a new instance of the TraceSwitch class, using the specified display name, description, and default value for the switch.

Return to top
Show: