首页 > 其他 > 详细

While, DoWhile in WorkFlow.

时间:2014-01-23 20:36:41      阅读:374      评论:0      收藏:0      [点我收藏+]

 

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.

bubuko.com,布布扣

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.

bubuko.com,布布扣

You can call your workflow:

1
WorkflowInvoker.Invoke(new LoopFlow());

While, DoWhile in WorkFlow.

原文:http://www.cnblogs.com/fdyang/p/3530977.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!