Throw Activity

Description:

Throws an exception.

Inheritance Hierarchy:

System.Object
  System.Activities.Activity
    System.Activities.CodeActivity
      System.Activities.Statements.Throw

Function:

Alerts the system of a user defined error.

In a Workflow:

Throw could be used within a workflow to indicate that a problematic condition has occurred. For example, if a user specifies an input value that is illegal in an application, then the part of the workflow that handles validation of user input could identify this value as illegal (possibly using an If activity) and throw an exception using the Throw Activity.

Properties:

Name Description

Display Name

Throw

You can change the name of an activity to one that describes what it does. A descriptive name can make a workflow easier to interpret and maintain.

Exception

The exception thrown by the activity.

Version Information:

Supported from: Geocortex Essentials 3.0.

For more information:

https://msdn.microsoft.com/en-us/library/system.activities.statements.throw.aspx

© 2019 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 4.11