WorkflowService.IsCriticalException-Methode
Determines whether the specified exception indicates a critical application or system problem that should not be ignored or suppressed because its occurrence may leave the application or system is in an indeterminate state.
Namespace: Microsoft.MasterDataServices.Workflow
Assembly: Microsoft.MasterDataServices.Workflow (in Microsoft.MasterDataServices.Workflow.dll)
Syntax
'Declaration
Public Shared Function IsCriticalException ( _
exception As Exception _
) As Boolean
'Usage
Dim exception As Exception
Dim returnValue As Boolean
returnValue = WorkflowService.IsCriticalException(exception)
public static bool IsCriticalException(
Exception exception
)
public:
static bool IsCriticalException(
Exception^ exception
)
static member IsCriticalException :
exception:Exception -> bool
public static function IsCriticalException(
exception : Exception
) : boolean
Parameter
- exception
Typ: System.Exception
The specified exception.
Rückgabewert
Typ: System.Boolean
True if the specified exception indicates a critical application or system problem; otherwise, false.