SPLog.ErrorTag method (UInt32, String, Exception)
Shorthand of [WriteLog(stringmessage,Exceptionexception,LogLevellevel)]. Use**[LogLevel.Error]**.
Namespace: Microsoft.SharePoint.Upgrade
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub ErrorTag ( _
tagID As UInteger, _
output As String, _
exception As Exception _
)
'Usage
Dim instance As SPLog
Dim tagID As UInteger
Dim output As String
Dim exception As Exception
instance.ErrorTag(tagID, output, exception)
public void ErrorTag(
uint tagID,
string output,
Exception exception
)
Parameters
tagID
Type: System.UInt32Tag for the message.
- output
Type: System.String
exception
Type: System.ExceptionException whose stack trace is logged.