Cette documentation est archivée et n’est pas conservée.

ExecutionType, énumération

Specifies the execution mode for activities.

Espace de noms: System.Workflow.Activities
Assembly : System.Workflow.Activities (dans system.workflow.activities.dll)

public enum ExecutionType
public enum ExecutionType
public enum ExecutionType

 Nom de membreDescription
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.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 pour Pocket PC, Windows Mobile pour Smartphone, Windows Server 2003, Windows XP Édition Media Center, Windows XP Professionnel Édition x64, Windows XP SP2, Windows XP Starter Edition

Microsoft .NET Framework 3.0 est pris en charge sur Windows Vista, Microsoft Windows XP SP2 et Windows Server 2003 SP1.

.NET Framework

Prise en charge dans : 3.0