System.Diagnostics.TraceSwitch: Property Members

The properties of System.Diagnostics.TraceSwitch are listed below. For a list of all members, see the TraceSwitch Members list.

See Also: Inherited members from System.Diagnostics.Switch

Public Properties

LevelTraceLevel.

Gets or sets the trace level that determines the messages the switch allows.

[read-only]
TraceErrorbool.

Gets a value indicating whether the switch allows error-handling messages.

[read-only]
TraceInfobool.

Gets a value indicating whether the switch allows informational messages.

[read-only]
TraceVerbosebool.

Gets a value indicating whether the switch allows all messages.

[read-only]
TraceWarningbool.

Gets a value indicating whether the switch allows warning messages.