Bewerken

Delen via


SequenceActivity.HandleFault(ActivityExecutionContext, Exception) Method

Definition

Called when an exception is raised within the context of the execution of this instance.

protected:
 override System::Workflow::ComponentModel::ActivityExecutionStatus HandleFault(System::Workflow::ComponentModel::ActivityExecutionContext ^ executionContext, Exception ^ exception);
protected override System.Workflow.ComponentModel.ActivityExecutionStatus HandleFault (System.Workflow.ComponentModel.ActivityExecutionContext executionContext, Exception exception);
override this.HandleFault : System.Workflow.ComponentModel.ActivityExecutionContext * Exception -> System.Workflow.ComponentModel.ActivityExecutionStatus
Protected Overrides Function HandleFault (executionContext As ActivityExecutionContext, exception As Exception) As ActivityExecutionStatus

Parameters

executionContext
ActivityExecutionContext

The ActivityExecutionContext for this instance.

exception
Exception

The Exception which caused this fault.

Returns

The execution status of the activity.

Applies to