共用方式為


SPLog.WriteLogTag method (UInt32, String, Exception, LogLevel)

速記**[WriteLog(stringmessage,LogLevellevel)]**的方式。以郵件方式會記錄郵件以及例外堆疊追蹤。

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

Syntax

'宣告
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 class

SPLog members

WriteLogTag overload

Microsoft.SharePoint.Upgrade namespace