Share via


SPLog.ErrorTag method (UInt32, String, Object[])

Shorthand of [WriteLog(stringmessage,LogLevellevel)]. Use**[LogLevel.Error]**.

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

Syntax

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

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

Parameters

  • args
    Type: []

    Args for format

See also

Reference

SPLog class

SPLog members

ErrorTag overload

Microsoft.SharePoint.Upgrade namespace