Rethrow Activity Designer

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

The Rethrow activity designer is used to create and configure a Rethrow activity.

The Rethrow activity

The Rethrow activity throws a previously thrown exception. This activity can only be used in a Catch handler in the TryCatch activity.

Use the ReThrow Activity Designer

Access the Rethrow activity designer in the Error Handling category of the Toolbox. The Rethrow activity designer can be dragged from the Toolbox and dropped on to the Workflow Designer surface wherever activities are usually placed, such as inside a Sequence. Dropping the activity designer creates a Rethrow activity with a default DisplayName of Throw. The DisplayName value can be edited in the header of the Rethrow activity designer, or in the DisplayName box of the property grid.

The Rethrow properties

The following table shows the Rethrow properties, and describes how they're used in the designer:

Property Name Required Usage
DisplayName False Specifies the optional friendly name of the Rethrow activity. The default is Rethrow.

See also