Error Handling Activities in WF

This topic applies to Windows Workflow Foundation 4 (WF4).

.NET Framework version 4 provides several system-provided activities for implementing error handling and recovery. For more information, seeExceptions.

Error handling activities

Rethrow

Rethrows the last exception thrown from within a TryCatch activity.

Throw

Throws an exception.

TryCatch

Implements exception handling.