SPLog.ErrorTag method (UInt32, String, Object[])
速記**[WriteLog(stringmessage,LogLevellevel)]的方式。使用[LogLevel.Error]**。
Namespace: Microsoft.SharePoint.Upgrade
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Sub ErrorTag ( _
tagID As UInteger, _
format As String, _
ParamArray args As Object() _
)
'用途
Dim instance As SPLog
Dim tagID As UInteger
Dim format As String
Dim args As Object()
instance.ErrorTag(tagID, format, args)
public void ErrorTag(
uint tagID,
string format,
params Object[] args
)
參數
tagID
Type: System.UInt32郵件標籤。
format
Type: System.String格式字串的郵件
args
Type: []Args 格式