Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- 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.