While Activity

Description:

A looping activity that executes contained activities 0 or more times, until a condition is no longer true.

Inheritance Hierarchy:

System.Object
  System.Activities.Activity
    System.Activities.NativeActivity
      System.Activities.Statements.While

Function:

The While activity evaluates a condition and runs a specified activity 0 or more times until the condition evaluates to False. The While activity is similar to DoWhile except that an activity contained within a DoWhile is guaranteed to run once before the condition is evaluated.

Properties:

Name

Description

Condition

The condition that, while evaluating to True, causes the workflow to loop over and run the contained Body activities. The condition is first evaluated before the contained Body has run.

Display Name

While

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.

Body

A container for an activity. If you want more than one activity in the Body, use a composite activity such as a Sequence or Parallel activity.

Version Information:

Supported from: Geocortex Essentials 3.0.

For more information:

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