Condividi tramite


Using the SequenceActivity Activity

The SequenceActivity activity provides a simple way to link multiple activities together for sequential execution. The SequenceActivity activity executes its child activities in sequence, completing one activity before moving on to the next, and so on, until the completion of the last child activity.

Some activities, such as the WhileActivity activity, can only contain one activity. The SequenceActivity activity provides a convenient way to add multiple activities that are contained in a single SequenceActivity activity to activities that can contain only one activity.

The ParallelActivity activity executes multiple SequenceActivity activities in a parallel manner. For more information about the ParallelActivity activity, see Using the ParallelActivity Activity.

For more information, see the SequenceActivity class of the System.Workflow.Activities namespace in the Windows Workflow Foundation Class Library reference.

See Also

Reference

SequenceActivity
ParallelActivity
WhileActivity

Concepts

Using the WhileActivity Activity
Using the ParallelActivity Activity

Other Resources

Windows Workflow Foundation Activities