System.Web Namespace TraceContext Class
Writes trace information to the trace log. Unlike Write, all warnings appear in the log as red text.
1. Writes a trace message to the trace log. All warnings appear as in the log as red text.
2. Writes trace information to the trace log, including any user-defined categories and trace messages. All warnings appear in the log as red text.
3. Writes trace information to the trace log, including any user-defined categories, trace messages, and error information. All warnings appear in the log as red text.
TraceContext Members TraceMode Enumeration