Initializes a new instance of the Switch class.
[Visual Basic] Protected Sub New( _ ByVal displayName As String, _ ByVal description As String _ ) [C#] protected Switch( string displayName, string description ); [C++] protected: Switch( String* displayName, String* description ); [JScript] protected function Switch( displayName : String, description : String );
When a Switch object is instantiated, the displayName is used to find initial switch settings in the registry, environmental variables. The default value is the empty string ("").
Switch Class | Switch Members | System.Diagnostics Namespace | Switch | BooleanSwitch | TraceSwitch | Debug | Trace