PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​Backends.​TraceBase­Collecting­Trace­ListenerFail
Open sandboxFocus

BaseCollectingTraceListener.Fail Method

Fail(String, String)

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

public override void Fail(string message, string detailMessage)
Type Name Description
String message

A message to emit.

String detailMessage

A detailed message to emit.