ErrorHandler.IsCriticalException Method
Namespace: Microsoft.VisualStudio
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
‘선언
Public Shared Function IsCriticalException ( _
ex As Exception _
) As Boolean
‘사용 방법
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.