EventSchemaTraceListener.Fail Method (String, String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 Overrides Sub Fail (
	message As String,
	detailMessage As String
)

Parameters

message
Type: System.String

The basic error message to write.

detailMessage
Type: System.String

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

.NET Framework
Available since 3.5
Return to top
Show: