EventSchemaTraceListener.Fail(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Writes error information, including a basic error message and a detailed error message, to the log file.
public:
override void Fail(System::String ^ message, System::String ^ detailMessage);
public override void Fail (string message, string detailMessage);
override this.Fail : string * string -> unit
Public Overrides Sub Fail (message As String, detailMessage As String)
Parameters
- message
- String
The basic error message to write.
- detailMessage
- String
The detailed error message to append to the basic error message.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.