This documentation is archived and is not being maintained.

Switch Members

Provides an abstract base class to create new debugging and tracing switches.

The Switch type exposes the following members.

Protected method Switch Overloaded. Initializes a new instance of the Switch class.

Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Protected method GetSupportedAttributes Gets the custom attributes supported by the switch.
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnSwitchSettingChanged Invoked when the SwitchSetting property is changed.
Protected method OnValueChanged Invoked when the Value property is changed.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Public property Attributes Gets the custom switch attributes defined in the application configuration file.
Public property Description Gets a description of the switch.
Public property DisplayName Gets a name used to identify the switch.
Protected property SwitchSetting Gets or sets the current setting for this switch.
Protected property Value Gets or sets the value of the switch.