ErrorHandler.IsCriticalException Method
Determines whether the specified exception is critical.
Namespace: Microsoft.VisualStudio
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaração
Public Shared Function IsCriticalException ( _
ex As Exception _
) As Boolean
public static bool IsCriticalException(
Exception ex
)
Parameters
- ex
Type: System.Exception
The exception.
Return Value
Type: System.Boolean
true if the specified exception is critical, otherwise false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.