共用方式為


SPLog.DebugTag method (UInt32, String, Exception, Object[])

速記**[WriteLog(stringmessage,Exceptionexception,LogLevellevel,paramsobject[]args)]的方式。使用[LogLevel.Debug]**。

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

Syntax

'宣告
Public Sub DebugTag ( _
    tagID As UInteger, _
    format As String, _
    exception As Exception, _
    ParamArray args As Object() _
)
'用途
Dim instance As SPLog
Dim tagID As UInteger
Dim format As String
Dim exception As Exception
Dim args As Object()

instance.DebugTag(tagID, format, exception, _
    args)
public void DebugTag(
    uint tagID,
    string format,
    Exception exception,
    params Object[] args
)

參數

  • args
    Type: []

請參閱

參照

SPLog class

SPLog members

DebugTag overload

Microsoft.SharePoint.Upgrade namespace