ReplicatorActivity.ExecutionType Property

 

Gets or sets the ExecutionType for the ReplicatorActivity.

Namespace:   System.Workflow.Activities
Assembly:  System.Workflow.Activities (in System.Workflow.Activities.dll)

[BrowsableAttribute(true)]
public ExecutionType ExecutionType { get; set; }

The following sample shows setting the ExecutionType property. This sample is from the Simple Replicator SDK sample. For more information, seeReplicator Sample.

this.WhileLoop = new System.Workflow.Activities.WhileActivity();
this.Parallel = new System.Workflow.Activities.ParallelActivity();
this.Sequence1 = new System.Workflow.Activities.SequenceActivity();
this.Sequence2 = new System.Workflow.Activities.SequenceActivity();
this.ConsoleMessage1 = new System.Workflow.Activities.CodeActivity();
this.ConsoleMessage2 = new System.Workflow.Activities.CodeActivity();
// 
// WhileLoop
// 
this.WhileLoop.Activities.Add(this.Parallel);
codecondition1.Condition += new System.EventHandler<System.Workflow.Activities.ConditionalEventArgs>(this.WhileCondition);
this.WhileLoop.Condition = codecondition1;
this.WhileLoop.Name = "WhileLoop";
// 
// Parallel
// 
this.Parallel.Activities.Add(this.Sequence1);
this.Parallel.Activities.Add(this.Sequence2);
this.Parallel.Name = "Parallel";
// 
// Sequence1
// 
this.Sequence1.Activities.Add(this.ConsoleMessage1);
this.Sequence1.Name = "Sequence1";
// 
// Sequence2
// 
this.Sequence2.Activities.Add(this.ConsoleMessage2);
this.Sequence2.Name = "Sequence2";

.NET Framework
Available since 3.0

ReplicatorActivity Class
System.Workflow.Activities Namespace
Using the Replicator Activity
Using Conditions in Workflows

Return to top
Show: