다음을 통해 공유


ServerUtils.HandleException Method (String, Exception, ErrorCode)

Logs an exception in the event log.

Namespace:  Microsoft.PerformancePoint.Scorecards.ServerCommon
Assembly:  Microsoft.PerformancePoint.Scorecards.ServerCommon (in Microsoft.PerformancePoint.Scorecards.ServerCommon.dll)

Syntax

'Declaration
Public Shared Function HandleException ( _
    message As String, _
    ex As Exception, _
    code As ErrorCode _
) As Exception
'Usage
Dim message As String
Dim ex As Exception
Dim code As ErrorCode
Dim returnValue As Exception

returnValue = ServerUtils.HandleException(message, _
    ex, code)
public static Exception HandleException(
    string message,
    Exception ex,
    ErrorCode code
)

Parameters

Return Value

Type: System.Exception

See Also

Reference

ServerUtils Class

ServerUtils Members

HandleException Overload

Microsoft.PerformancePoint.Scorecards.ServerCommon Namespace