共用方式為


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

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

ErrorHandler Class

ErrorHandler Members

Microsoft.VisualStudio Namespace