Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

EventProviderTraceListener::Fail Method (String^, String^)

 

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

Namespace:   System.Diagnostics.Eventing
Assembly:  System.Core (in System.Core.dll)

public:
virtual void Fail(
	String^ message,
	String^ detailMessage
) override

Parameters

message
Type: System::String^

A message to emit.

detailMessage
Type: System::String^

A detailed message to emit.

.NET Framework
Available since 3.5
Return to top
Show: