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)

Syntax

'Declaration
Public Shared Sub Error ( _
    message As Object, _
    errorCode As ErrorCode _
)
'Usage
Dim message As Object
Dim errorCode As ErrorCode

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

Parameters

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

See Also

Reference

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