Share via


DebugHelpers.IsCriticalException Method (Exception)

 

Validates whether an exception is one of a predetermined list of critical exceptions that should never be handled by the framework.

Namespace:   Microsoft.ConfigurationManagement.Messaging.Framework
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)

Syntax

public static bool IsCriticalException(
    this Exception exception
)
public:
[ExtensionAttribute]
static bool IsCriticalException(
    Exception^ exception
)
<ExtensionAttribute>
Public Shared Function IsCriticalException (
    exception As Exception
) As Boolean

Parameters

Return Value

Type: System.Boolean

True if the exception is considered critical; false if it can be safely handled.

See Also

DebugHelpers Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top