SPLog.ErrorTag 方法 (UInt32, String, Exception)

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

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

语法

声明
Public Sub ErrorTag ( _
    tagID As UInteger, _
    output As String, _
    exception As Exception _
)
用法
Dim instance As SPLog
Dim tagID As UInteger
Dim output As String
Dim exception As Exception

instance.ErrorTag(tagID, output, exception)
public void ErrorTag(
    uint tagID,
    string output,
    Exception exception
)

参数

另请参阅

引用

SPLog 类

SPLog 成员

ErrorTag 重载

Microsoft.SharePoint.Upgrade 命名空间