This class provides a simple on/off switch for debugging and tracing. Consult Enabled to check if the switch has been set. You can configure a Boolean switch using the application configuration file (see Switch ). To use a BooleanSwitch , you must enable tracing or debugging at compilation time. public class BooleanSwitch : Switch { // Public Constructors public BooleanSwitch (string displayName , string description ); // Public Instance Properties public bool Enabled {set; get; } } HierarchySystem.Object Switch BooleanSwitch |