SPLog.WriteLogTag method (UInt32, String, LogLevel, Object[])
以指定的記錄層級會記錄指定格式化的訊息
Namespace: Microsoft.SharePoint.Upgrade
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Sub WriteLogTag ( _
tagID As UInteger, _
format As String, _
level As LogLevel, _
ParamArray args As Object() _
)
'用途
Dim instance As SPLog
Dim tagID As UInteger
Dim format As String
Dim level As LogLevel
Dim args As Object()
instance.WriteLogTag(tagID, format, level, _
args)
public void WriteLogTag(
uint tagID,
string format,
LogLevel level,
params Object[] args
)
參數
tagID
Type: System.UInt32郵件標籤。
format
Type: System.String要記錄的郵件格式字串
level
Type: Microsoft.SharePoint.Upgrade.LogLevel層級的郵件
args
Type: []args 格式