Export (0) Print
Expand All

TraceListener.Fail Method

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

Overload List

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

Supported by the .NET Compact Framework.

[Visual Basic] Overloads Public Overridable Sub Fail(String)
[C#] public virtual void Fail(string);
[C++] public: virtual void Fail(String*);
[JScript] public function Fail(String);

Emits an error message, and a detailed error message to the listener you create when you implement the TraceListener class.

Supported by the .NET Compact Framework.

[Visual Basic] Overloads Public Overridable Sub Fail(String, String)
[C#] public virtual void Fail(string, string);
[C++] public: virtual void Fail(String*, String*);
[JScript] public function Fail(String, String);

See Also

TraceListener Class | TraceListener Members | System.Diagnostics Namespace

Show:
© 2014 Microsoft