Using the FaultHandler Activity
If you think about it, having a Throw activity is not as useful as having a Throw activity combined with some activity designed to handle the exception, and that’s the purpose of the FaultHandler activity. You use FaultHandler in a slightly different way than any of the activities we’ve seen so far. In fact, it’s time to take a little detour and look more closely at the visual designer. Why? Because there is a separate design surface for fault handlers than for workflow activities (and, in fact, there is a third design surface for cancellation processing, which we’ll also see at this point).
In Chapter 15, we’ll ...