The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
SwitchLevelAttribute::SwitchLevelType Property
.NET Framework (current version)
Gets or sets the type that determines whether a trace should be written.
Assembly: System (in System.dll)
| Exception | Condition |
|---|---|
| ArgumentNullException | The set operation failed because the value is null. |
The level property of a switch is not necessarily named Level; for example, the level property of the BooleanSwitch class is Enabled.
The following code example displays the value of the SwitchLevelType property for the BooleanSwitch.
.NET Framework
Available since 2.0
Available since 2.0
Show: