Determines whether the specified exception is critical enough to cause the process to crash. Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

Visual Basic
Dim ex As Exception
Dim returnValue As Boolean

returnValue = ExceptionUtilities.IsUICriticalException(ex)

Syntax

Visual Basic
Public Shared Function IsUICriticalException ( _
		ex As Exception _
) As Boolean
C#
public static bool IsUICriticalException (
		Exception ex
)
C++
public:
static bool IsUICriticalException (
		Exception^ ex
)
J#
public static boolean IsUICriticalException (
		Exception ex
)
JScript
public static function IsUICriticalException (
		ex : Exception
) : boolean

Parameters

ex

[in] System.Exception object.

Return Value

true if the exception is critical enough to cause the process to crash; otherwise false.

Exceptions

Exception type Condition
ArgumentNullException

The ex parameter cannot be null.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also