19 base.SwitchSetting = (int)value;
26 : base(name, string.Empty)
34 : base(displayName, string.Empty, defaultSwitchValue)
44 return (base.SwitchSetting & (
int)eventType) != 0;
Describes a set of security permissions applied to code. This class cannot be inherited.
override void OnValueChanged()
Invoked when the value of the P:System.Diagnostics.Switch.Value property changes.
SourceSwitch(string displayName, string defaultSwitchValue)
Initializes a new instance of the T:System.Diagnostics.SourceSwitch class, specifying the display nam...
SourceSwitch(string name)
Initializes a new instance of the T:System.Diagnostics.SourceSwitch class, specifying the name of the...
bool ShouldTrace(TraceEventType eventType)
Determines if trace listeners should be called, based on the trace event type.
static object Parse(Type enumType, string value)
Converts the string representation of the name or numeric value of one or more enumerated constants t...
SecurityAction
Specifies the security actions that can be performed using declarative security.
Provides the base class for enumerations.
TraceEventType
Identifies the type of event that has caused the trace.
SourceLevels Level
Gets or sets the level of the switch.
SourceLevels
Specifies the levels of trace messages filtered by the source switch and event type filter.
Provides a multilevel switch to control tracing and debug output without recompiling your code.
SecurityPermissionFlag
Specifies access flags for the security permission object.
Provides an abstract base class to create new debugging and tracing switches.