Windows apps
Collapse the table of content
Expand the table of content
Information
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.

TraceSwitch Constructor

 

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:
© 2017 Microsoft