SPLog.WriteLogTag 方法 (UInt32, String, Exception, LogLevel)

**[WriteLog(stringmessage,LogLevellevel)]**的简写形式。将消息和异常堆栈跟踪记录为消息。

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

语法

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

instance.WriteLogTag(tagID, output, exception, _
    level)
public void WriteLogTag(
    uint tagID,
    string output,
    Exception exception,
    LogLevel level
)

参数

另请参阅

引用

SPLog 类

SPLog 成员

WriteLogTag 重载

Microsoft.SharePoint.Upgrade 命名空间