RootWorkflowActivityWithData.HandleFault-Methode
Wird aufgerufen, wenn eine Ausnahme während der Ausführung der aktiven Workflowinstanz ausgelöst wird.
Namespace: Microsoft.SharePoint.WorkflowActions
Assembly: Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)
Syntax
'Declaration
Protected Overrides Function HandleFault ( _
executionContext As ActivityExecutionContext, _
exception As Exception _
) As ActivityExecutionStatus
'Usage
Dim executionContext As ActivityExecutionContext
Dim exception As Exception
Dim returnValue As ActivityExecutionStatus
returnValue = Me.HandleFault(executionContext, _
exception)
protected override ActivityExecutionStatus HandleFault(
ActivityExecutionContext executionContext,
Exception exception
)
Parameter
executionContext
Typ: System.Workflow.ComponentModel.ActivityExecutionContextDie ActivityExecutionContext , die für diese Instanz des Workflows gilt.
exception
Typ: System.ExceptionDie Ausnahme, die diesen Fehler verursacht hat.
Rückgabewert
Typ: System.Workflow.ComponentModel.ActivityExecutionStatus
Die ActivityExecutionStatus , die bei dem Versuch, diese Instanz des Workflows Abbrechen führt.
Siehe auch
Referenz
RootWorkflowActivityWithData Klasse