湖边的白杨树

探索是一种乐趣

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

 

On 03/03/2010, in 4.0WF, by bcakiroglu

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());
posted on 2014-01-23 12:40  fdyang  阅读(270)  评论(0)    收藏  举报