Using the FaultHandlerActivity Activity

Use a FaultHandlerActivity activity to handle an exception of a type that you specify. The FaultHandlerActivity activity is a wrapper for other activities that perform the work that is done when the specified exception occurs.

Specify a type derived from Exception to catch any exception of that type. You can optionally specify a local variable to store the exception and make it available in code.

For more information about workflow fault handling, see Fault Handling in Workflows.

For information about the FaultHandlerActivity activity, see the FaultHandlerActivity class of the System.Workflow.ComponentModel namespace in the Windows Workflow Foundation Class Library reference.

See Also

Reference

FaultHandlerActivity

Concepts

Fault Handling in Workflows
Fault Handling Overview

Other Resources

Windows Workflow Foundation Activities