ErrorHandler.IsCriticalException Method

Determines whether the specified exception is critical.

Namespace:  Microsoft.VisualStudio
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.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

  • ex
    Type: Exception

    The exception.

Return Value

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

.NET Framework Security

See Also

Reference

ErrorHandler Class

Microsoft.VisualStudio Namespace