TraceSwitch Properties
.NET Framework 3.5
The TraceSwitch type exposes the following members.
| Name | Description | |
|---|---|---|
|
Attributes | Gets the custom switch attributes defined in the application configuration file. (Inherited from Switch.) |
|
Description | Gets a description of the switch. (Inherited from Switch.) |
|
DisplayName | Gets a name used to identify the switch. (Inherited from Switch.) |
|
Level | Gets or sets the trace level that determines the messages the switch allows. |
|
SwitchSetting | Gets or sets the current setting for this switch. (Inherited from Switch.) |
|
TraceError | Gets a value indicating whether the switch allows error-handling messages. |
|
TraceInfo | Gets a value indicating whether the switch allows informational messages. |
|
TraceVerbose | Gets a value indicating whether the switch allows all messages. |
|
TraceWarning | Gets a value indicating whether the switch allows warning messages. |
|
Value | Gets or sets the value of the switch. (Inherited from Switch.) |