Switch Members
.NET Framework 3.5
Provides an abstract base class to create new debugging and tracing switches.
The Switch type exposes the following members.
| Name | Description | |
|---|---|---|
|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetSupportedAttributes | Gets the custom attributes supported by the switch. |
|
GetType | Gets the type of the current instance. (Inherited from Object.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
OnSwitchSettingChanged | Invoked when the SwitchSetting property is changed. |
|
OnValueChanged | Invoked when the Value property is changed. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
|
Attributes | Gets the custom switch attributes defined in the application configuration file. |
|
Description | Gets a description of the switch. |
|
DisplayName | Gets a name used to identify the switch. |
|
SwitchSetting | Gets or sets the current setting for this switch. |
|
Value | Gets or sets the value of the switch. |