ImpersonationSequenceActivity.HandleFault Method
The method that is called by the workflow runtime when an Exception is raised when executing the workflow instance.
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
)
Parameters
executionContext
Type: System.Workflow.ComponentModel.ActivityExecutionContextThe context that is associated with this activity.
exception
Type: System.ExceptionThe exception that caused this fault.
Return Value
Type: System.Workflow.ComponentModel.ActivityExecutionStatus
The status of the ImpersonationSequenceActivity after handling the fault.
Remarks
This override handles the fault caused by the exception.
See Also
Reference
ImpersonationSequenceActivity Class