Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

TraceContext.Warn Method

Writes trace information to the trace log. Unlike Write, all warnings appear in the log as red text.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Warn(String) Writes a trace message to the trace log. All warnings appear in the log as red text.
Public method 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.
Public method 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.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.