Bewerken

Delen via


EventSchemaTraceListener.Fail(String, String) Method

Definition

Writes error information, including a basic error message and a detailed error message, to the log file.

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

The basic error message to write.

detailMessage
String

The detailed error message to append to the basic error message.

Applies to