Mono Class Library: System.Diagnostics.DefaultTraceListener Overview | Members

System.Diagnostics.DefaultTraceListener.Fail Method

Writes a failure message with detailed information. [Edit]

public override void Fail (string message, string detailMessage)

Parameters

message
The short message to display. [Edit]
detailMessage
The detailed message to display. [Edit]

Remarks

Writes a failure message, which is a message that should be displayed in a very visible fashion, along with detailed information. If DefaultTraceListener.AssertUiEnabled is true, the message is displayed in a GUI dialog box, interupting whatever the user might be doing. [Edit]

Requirements

Namespace: System.Diagnostics
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0