System.Workflow.ComponentModel.activity 和 System.activities.activity 有什么区别

发布于 2024-09-08 14:12:33 字数 120 浏览 0 评论 0原文

.NET 4 中似乎有 2 个与工作流活动相关的类:System.Workflow.ComponentModel.Activity 和 System.activities.Activity

两者之间有什么区别?

There seem to be 2 classes that relates to workflow Activities in .NET 4: System.Workflow.ComponentModel.Activity and System.activities.Activity

What's the difference between the two?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

假面具 2024-09-15 14:12:33

第一个(“System.Activities...”)来自 Workflow Foundation 3.0,第二个(“System.Workflow...”)来自 Workflow Foundation 4.0。

两者之间进行了实质性的重写(恕我直言,为了更好)。 3.0 工作流活动可以通过迁移或通过迁移在4.0 中使用。 microsoft.com/en-us/library/ee264174.aspx" rel="nofollow noreferrer">互操作。

The first one ("System.Activities...") is from Workflow Foundation 3.0 and the second one ("System.Workflow...") is for Workflow Foundation 4.0.

There was a substantial rewrite (for the better imho) between the two. 3.0 workflow activities can be used in 4.0 via migration or via interop.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文