Share via


SPULSTraceListener.Fail Method (String, String)

Sends a Trace Tag message to the ULS log.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Overrides Sub Fail ( _
    message As String, _
    detailMessage As String _
)
'Usage
Dim instance As SPULSTraceListener
Dim message As String
Dim detailMessage As String

instance.Fail(message, detailMessage)
public override void Fail(
    string message,
    string detailMessage
)

Parameters

  • message
    Type: System.String

    Main message with general description of the failure.

  • detailMessage
    Type: System.String

    Message detailing source and other information about the failure.

See Also

Reference

SPULSTraceListener Class

SPULSTraceListener Members

Fail Overload

Microsoft.SharePoint Namespace