ErrorHandler.IsCriticalException(Exception) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns true if the Exception is one of:
These exceptions should be re-thrown even the exception would cross a COM boundary. Such exceptions are considered critical and should immediately terminate the application.public:
static bool IsCriticalException(Exception ^ ex);
public static bool IsCriticalException (Exception ex);
static member IsCriticalException : Exception -> bool
Public Shared Function IsCriticalException (ex As Exception) As Boolean
Parameters
- ex
- Exception
The exception to test.
Returns
True if ex
is one of the critical exceptions that should not be converted to an HRESULT.