TraceContext.Warn Method
.NET Framework (current version)
Writes trace information to the trace log. Unlike Write, all warnings appear in the log as red text.
Assembly: System.Web (in System.Web.dll)
| Name | Description | |
|---|---|---|
![]() | Warn(String) | Writes a trace message to the trace log. All warnings appear in the log as red text. |
![]() | Warn(String, 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. |
![]() | Warn(String, String, Exception) | 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. |
Show:
