共用方式為


SPLog.ErrorTag method (UInt32, String)

速記**[WriteLog(stringmessage,LogLevellevel)]的方式。使用[LogLevel.Error]**。

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

Syntax

'宣告
Public Sub ErrorTag ( _
    tagID As UInteger, _
    output As String _
)
'用途
Dim instance As SPLog
Dim tagID As UInteger
Dim output As String

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

參數

請參閱

參照

SPLog class

SPLog members

ErrorTag overload

Microsoft.SharePoint.Upgrade namespace