Fail Method (String, String)
Collapse the table of content
Expand the table of content

EventSchemaTraceListener.Fail Method (String, String)

.NET Framework (current version)

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

Namespace:   System.Diagnostics
Assembly:  System.Core (in System.Core.dll)

public override void Fail(
	string message,
	string detailMessage


Type: System.String

The basic error message to write.

Type: System.String

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

.NET Framework
Available since 3.5
Return to top
© 2016 Microsoft