Export (0) Print
Expand All

TraceSwitch Properties

The properties of the TraceSwitch class are listed here. For a complete list of TraceSwitch class members, see the TraceSwitch Members topic.

Public Properties

public propertyDescription (inherited from Switch) Gets a description of the switch.
public propertyDisplayName (inherited from Switch) Gets a name used to identify the switch.
public propertyLevel Gets or sets the trace level that specifies the messages to output for tracing and debugging.
public propertyTraceError Gets a value indicating whether the Level is set to Error, Warning, Info, or Verbose.
public propertyTraceInfo Gets a value indicating whether the Level is set to Info or Verbose.
public propertyTraceVerbose Gets a value indicating whether the Level is set to Verbose.
public propertyTraceWarning Gets a value indicating whether the Level is set to Warning, Info, or Verbose.

Protected Properties

protected propertySwitchSetting (inherited from Switch) Gets or sets the current setting for this switch.

See Also

TraceSwitch Class | System.Diagnostics Namespace

Show:
© 2014 Microsoft