Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

EventSchemaTraceListener.Fail Method (String, String)

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)

abstract Fail : 
        message:string * 
        detailMessage:string -> unit  
override Fail : 
        message:string * 
        detailMessage:string -> unit


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

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft