System.Workflow.ComponentModel.activity 和 System.activities.activity 有什么区别
.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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
第一个(“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.