SPLog.ErrorTag 方法 (UInt32, String, Object[])

[WriteLog(stringmessage,LogLevellevel)]的简写形式。使用[LogLevel.Error]

命名空间:  Microsoft.SharePoint.Upgrade
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Sub ErrorTag ( _
    tagID As UInteger, _
    format As String, _
    ParamArray args As Object() _
)
用法
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
)

参数

  • args
    类型:[]

    格式参数

另请参阅

引用

SPLog 类

SPLog 成员

ErrorTag 重载

Microsoft.SharePoint.Upgrade 命名空间