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)

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