Table of Contents

Method IsCriticalException

Namespace
PaintDotNet
Assembly
PaintDotNet.Fundamentals.dll

IsCriticalException(Exception)

Returns true if the exception is a critical exception that should not be handled or suppressed.

public static bool IsCriticalException(Exception ex)

Parameters

ex Exception

Returns

bool

Remarks

These are considered to be critical exceptions:

If the given exception is one of these types, or derived from one of these types, or if it is an AggregateException that transitively contains a critical exception, the return value will be true.