SPLog.WarningTag 方法 (UInt32, String, Exception)
[WriteLog(stringmessage,Exceptionexception,LogLevellevel)]的简写形式。使用[LogLevel.Warning]。
命名空间: Microsoft.SharePoint.Upgrade
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
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
类型:System.UInt32消息的的标签。
- output
类型:System.String
exception
类型:System.Exception记录其堆栈跟踪的异常。