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

Logs a warning 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 Warn ( _
    message As Object, _
    ex As Exception, _
    errorCode As ErrorCode _
)
'Usage
Dim message As Object
Dim ex As Exception
Dim errorCode As ErrorCode

Logger.Warn(message, ex, errorCode)
public static void Warn (
    Object message,
    Exception ex,
    ErrorCode errorCode
)

Parameters

  • message
    The message to log.
  • ex
    The exception.
  • 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