Share via


ErrorHandler.IsCriticalException Method

Determines whether the specified exception is critical.

Namespace:  Microsoft.VisualStudio
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Declaration
Public Shared Function IsCriticalException ( _
    ex As Exception _
) As Boolean
public static bool IsCriticalException(
    Exception ex
)
public:
static bool IsCriticalException(
    Exception^ ex
)
static member IsCriticalException : 
        ex:Exception -> bool 
public static function IsCriticalException(
    ex : Exception
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the specified exception is critical, otherwise false.

.NET Framework Security

See Also

Reference

ErrorHandler Class

Microsoft.VisualStudio Namespace