This documentation is archived and is not being maintained.

TextWriterTraceListener.Fail Method

Emits error messages to the listener you create when you implement the TraceListener class.

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 Fail(String) Emits an error message to the listener you create when you implement the TraceListener class. (Inherited from TraceListener.)
Public method Fail(String, String) Emits an error message and a detailed error message to the listener you create when you implement the TraceListener class. (Inherited from TraceListener.)
Top
Show: