Freigeben über


SPLog.ErrorTag-Methode (UInt32, String, Exception, Object[])

Kurzform von [WriteLog(stringmessage,Exceptionexception,LogLevellevel)]. Verwenden Sie**[LogLevel.Error]**.

Namespace:  Microsoft.SharePoint.Upgrade
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub ErrorTag ( _
    tagID As UInteger, _
    format As String, _
    exception As Exception, _
    ParamArray args As Object() _
)
'Usage
Dim instance As SPLog
Dim tagID As UInteger
Dim format As String
Dim exception As Exception
Dim args As Object()

instance.ErrorTag(tagID, format, exception, _
    args)
public void ErrorTag(
    uint tagID,
    string format,
    Exception exception,
    params Object[] args
)

Parameter

  • exception
    Typ: System.Exception

    Die Ausnahme, deren Stapelüberwachung angemeldet ist.

  • args
    Typ: []

Siehe auch

Referenz

SPLog Klasse

SPLog-Member

ErrorTag-Überladung

Microsoft.SharePoint.Upgrade-Namespace