ErrorUtils.CreateErrorLogEntry Method
Creates a log entry for the specified exception.
Namespace: Microsoft.PerformancePoint.Scorecards.Server
Assembly: Microsoft.PerformancePoint.Scorecards.Server (in Microsoft.PerformancePoint.Scorecards.Server.dll)
Syntax
'Declaration
Public Shared Function CreateErrorLogEntry ( _
e As Exception, _
message As String, _
callback As ErrorUtils.ErrorEntryCallback _
) As String
'Usage
Dim e As Exception
Dim message As String
Dim callback As ErrorUtils.ErrorEntryCallback
Dim returnValue As String
returnValue = ErrorUtils.CreateErrorLogEntry(e, _
message, callback)
public static string CreateErrorLogEntry(
Exception e,
string message,
ErrorUtils.ErrorEntryCallback callback
)
Parameters
e
Type: System.ExceptionThe exception.
message
Type: System.StringThe error message.
Return Value
Type: System.String
A string that represents the error to log.