While Activity
In a While activity, the activity in the Body section is executed as long as the Condition is true. The Condition is evaluated first and then, if true, the activities are executed. This is repeated until the Condition is false.
DoWhile Activity
The DoWhile activity is identical to While, except that the activities are executed first and then the Condition is evaluated. This ensures that the activities are executed at least once.
With a While activity, if the Condition is initially false, the activities in the Body section will never be executed.
You can call your workflow:
1
|
WorkflowInvoker.Invoke( new
LoopFlow());
|