SPLog.WriteLogTag 方法 (UInt32, String, LogLevel, Object[])
使用给定的日志级别记录给定格式的邮件
命名空间: Microsoft.SharePoint.Upgrade
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
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
类型:System.UInt32消息的的标签。
format
类型:System.String要记录的消息的格式字符串
level
类型:Microsoft.SharePoint.Upgrade.LogLevel消息级别
args
类型:[]格式参数