Udostępnij za pośrednictwem


Utils.IsCriticalException Method

Determines whether the exception is a critical exception.

Namespace: Microsoft.Uii.Common
Assembly: Microsoft.Uii.Common (in Microsoft.Uii.Common.dll)

Usage

'Usage
Dim ex As Exception
Dim returnValue As Boolean

returnValue = Utils.IsCriticalException(ex)

Syntax

'Declaration
Public Shared Function IsCriticalException ( _
    ex As Exception _
) As Boolean
public static bool IsCriticalException (
    Exception ex
)
public:
static bool IsCriticalException (
    Exception^ ex
)
public static boolean IsCriticalException (
    Exception ex
)
public static function IsCriticalException (
    ex : Exception
) : boolean

Parameters

  • ex
    Specifies the exception

Return Value

Type: Boolean
True if the exception is critical, otherwise false.

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

See Also

Reference

Utils Class
Utils Members
Microsoft.Uii.Common Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.