NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

TraceSwitch Properties

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

Public:

Description (inherited from Switch) Gets a description of the switch.
DisplayName (inherited from Switch) Gets a name used to identify the switch. This name can be displayed on a user interface.
Level Gets or sets the trace level which specifies what messages to output for tracing and debugging.
TraceError Gets a value indicating whether the Level is set to Error, Warning, Info, or Verbose.
TraceInfo Gets a value indicating whether the Level is set to Info or Verbose.
TraceVerbose Gets a value indicating whether the Level is set to Verbose.
TraceWarning Gets a value indicating whether the Level is set to Warning, Info, or Verbose.

See Also

TraceSwitch Class | System.Diagnostics Namespace