ErrorHandler.IsCriticalException Method
Namespace: Microsoft.VisualStudio
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Dichiarazione
Public Shared Function IsCriticalException ( _
ex As Exception _
) As Boolean
'Utilizzo
Dim ex As Exception
Dim returnValue As Boolean
returnValue = ErrorHandler.IsCriticalException(ex)
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
Return Value
Type: System.Boolean
.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.