This documentation is archived and is not being maintained.
TraceContext.Warn Method
.NET Framework 1.1
Writes trace information to the trace log. Unlike Write, all warnings appear in the log as red text.
Overload List
Writes a trace message to the trace log. All warnings appear as in the log as red text.
[Visual Basic] Overloads Public Sub Warn(String)
[C#] public void Warn(string);
[C++] public: void Warn(String*);
[JScript] public function Warn(String);
Writes trace information to the trace log, including any user-defined categories and trace messages. All warnings appear in the log as red text.
[Visual Basic] Overloads Public Sub Warn(String, String)
[C#] public void Warn(string, string);
[C++] public: void Warn(String*, String*);
[JScript] public function Warn(String, String);
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.
[Visual Basic] Overloads Public Sub Warn(String, String, Exception)
[C#] public void Warn(string, string, Exception);
[C++] public: void Warn(String*, String*, Exception*);
[JScript] public function Warn(String, String, Exception);
See Also
TraceContext Class | TraceContext Members | System.Web Namespace
Show: