SPLog.WarningTag method (UInt32, String, Exception)
速記**[WriteLog(stringmessage,Exceptionexception,LogLevellevel)]的方式。使用[LogLevel.Warning]**。
Namespace: Microsoft.SharePoint.Upgrade
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Sub WarningTag ( _
tagID As UInteger, _
output As String, _
exception As Exception _
)
'用途
Dim instance As SPLog
Dim tagID As UInteger
Dim output As String
Dim exception As Exception
instance.WarningTag(tagID, output, exception)
public void WarningTag(
uint tagID,
string output,
Exception exception
)
參數
tagID
Type: System.UInt32郵件標籤。
- output
Type: System.String
exception
Type: System.Exception記錄其堆疊追蹤的例外狀況。