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

System.Diagnostics.DefaultTraceListener.Fail Method

Writes a failure message. [Edit]

public override void Fail (string message)

Parameters

message
The failure message to display. [Edit]

Remarks

Writes a failure message, which is a message that should be displayed in a very visible fashion. 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