Parallel For Each <T> Activity

Description:

Enumerates the elements of a collection and executes an embedded statement for each element of the collection in parallel.

Inheritance Hierarchy:

System.Object
  System.Activities.Activity
    System.Activities.NativeActivity
      System.Activities.Statements.ParallelForEach<T>

Function:

Runs a set of activities against each item in parallel.

In a Workflow:

The ParallelForEach activity could be used to generate several reports at the same time.

Properties:

Name

Description

CompletionCondition

If the logical condition evaluates to True, then the scheduled pending iterations are cancelled. If this property is not set, all scheduled statements execute until completion.

Display Name

ParallelForEach<T>

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.

TypeArgument

The type of the values provided in the Values collection.

Values

The activity’s collection of inputs for the execution of the Body activities.

Body

A container for an activity that will be executed for each value in the Values collection. 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/dd647810.aspx