Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Determines whether the specified exception is critical.
Namespace: Microsoft.VisualStudio
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.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.ExceptionThe 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.