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.StringMain message with general description of the failure.
detailMessage
Type: System.StringMessage detailing source and other information about the failure.