ExecutionType Enumeration

Specifies the execution mode for activities.

Namespace: System.Workflow.Activities
Assembly: System.Workflow.Activities (in system.workflow.activities.dll)

public enum ExecutionType
public enum ExecutionType
public enum ExecutionType

 Member nameDescription
ParallelExecutes activities in parallel. 
SequenceExecutes activities in sequential order. Each activity is executed in turn, after the previous activity has finished running.  

The following code example shows how to set the execution mode for activities using the ExecutionType enumeration. This code example is part of the Replicator SDK Sample from the simplereplicatorworkflow.cs file. For more information, see Using Replicator.

this.ReplicatorWork.Activities.Add(this.SampleReplicatorChildActivity1);
this.ReplicatorWork.ExecutionType = System.Workflow.Activities.ExecutionType.Sequence;
this.ReplicatorWork.Name = "ReplicatorWork";
this.ReplicatorWork.ChildInitialized += new System.EventHandler<System.Workflow.Activities.ReplicatorChildEventArgs>(this.ChildInitializer);
this.ReplicatorWork.SetBinding(System.Workflow.Activities.ReplicatorActivity.InitialChildDataProperty, ((System.Workflow.ComponentModel.ActivityBind)(activityBind1)));

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show: