Logger.Error Method (Object, ErrorCode) (Microsoft.PerformancePoint.Scorecards.Server)

Logs an error message to the event log.

Namespace: Microsoft.PerformancePoint.Scorecards.Server
Assembly: Microsoft.PerformancePoint.Scorecards.Server (in microsoft.performancepoint.scorecards.server.dll)


Public Shared Sub Error ( _
    message As Object, _
    errorCode As ErrorCode _
Dim message As Object
Dim errorCode As ErrorCode

Logger.Error(message, errorCode)
public static void Error (
    Object message,
    ErrorCode errorCode


  • message
    The message to log.
  • errorCode
    The error code to put in the ID field of the event log entry.

See Also


Logger Class
Logger Members
Microsoft.PerformancePoint.Scorecards.Server Namespace