在WF4中重用Receive / SendReply(Reusing Receive/SendReply in WF4)

编程入门 行业动态 更新时间:2024-10-26 21:22:12
在WF4中重用Receive / SendReply(Reusing Receive/SendReply in WF4)

如何在WF(4)中重用Receive / SendReply? 例如

Receive/SendReply (Start) Process data Decision (data is valid?) True Pick 1) Receive/SendReply (Confirm) 2) Receive/SendReply (Input data) 3) Receive/SendReply (Restart) False Pick 1) Receive/SendReply (Input data) 2) Receive/SendReply (Restart)

应该可以调用Input data并Restart两个不同的Pick 。

目前我正在使用WF 4,但我想知道4.5是否有更简单的解决方案。

How can Receive/SendReply be reused in WF (4)? E.g

Receive/SendReply (Start) Process data Decision (data is valid?) True Pick 1) Receive/SendReply (Confirm) 2) Receive/SendReply (Input data) 3) Receive/SendReply (Restart) False Pick 1) Receive/SendReply (Input data) 2) Receive/SendReply (Restart)

It should be possible to call Input data and Restart in two different Picks.

Currently I'm using WF 4, but I'd like to hear if 4.5 has a simpler solution.

最满意答案

只需创建一个自定义复合活动,并将Receive / SendReply对添加到该活动中,并在多个位置重用该自定义活动。 自发布以来,这一直是WF4的基本重用机制。

Just create a custom composite activity and add the Receive/SendReply pair to that and reuse the that custom activity in multiple places. This has been the basic reuse mechanism in WF4 since its release.

更多推荐

本文发布于:2023-07-24 20:53:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1250990.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Receive   Reusing   SendReply

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!