System.Diagnostics.TraceLevel Enumeration

Assembly: System.dll
Namespace: System.Diagnostics
Summary
Specifies what messages to output for the Debug, Trace and TraceSwitch classes.
C# Syntax:
[Serializable]
public enum TraceLevel
Remarks
This enumeration is used by the TraceSwitch class.

You must enable tracing or debugging to use a switch. The following syntax is compiler specific. If you use compilers other than C or Visual Basic, refer to the documentation for your compiler.

For more information on instrumenting your application, see Debug and Trace.

See also:
System.Diagnostics Namespace | Debug | Trace | TraceSwitch

System.Diagnostics.TraceLevel Member List:

Public Fields
Error Output error-handling messages.
Info Output informational messages, warnings, and error-handling messages.
Off Output no tracing and debugging messages.
Verbose
Warning Output warnings and error-handling messages.

Hierarchy:


Top of page

Copyright (c) 2002 Microsoft Corporation. All rights reserved.