ExceptionUtilities.IsUICriticalException Method (Exception)
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
'Usage
Dim ex As Exception
Dim returnValue As Boolean
returnValue = ExceptionUtilities.IsUICriticalException(ex)
Syntax
'Declaration
Public Shared Function IsUICriticalException ( _
ex As Exception _
) As Boolean
public static bool IsUICriticalException (
Exception ex
)
public:
static bool IsUICriticalException (
Exception^ ex
)
public static boolean IsUICriticalException (
Exception ex
)
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
Reference
ExceptionUtilities Class
ExceptionUtilities Members
Microsoft.ConfigurationManagement.AdminConsole Namespace