Redigera

Dela via


EventProviderTraceListener.Fail(String, String) Method

Definition

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

public:
 override void Fail(System::String ^ message, System::String ^ detailMessage);
public override void Fail (string message, string detailMessage);
override this.Fail : string * string -> unit
Public Overrides Sub Fail (message As String, detailMessage As String)

Parameters

message
String

A message to emit.

detailMessage
String

A detailed message to emit.

Applies to

See also