开发者

Alternative to use ExternalDataEventArgs on WF4

开发者 https://www.devze.com 2023-03-11 20:10 出处:网络
I\'m upgrading a StateMachine WorkFlow from 3.0 to 4.0, I also review the guidance that WF Team shipped last year, but I never hear开发者_高级运维d about changes on some classes that inherits from Ext

I'm upgrading a StateMachine WorkFlow from 3.0 to 4.0, I also review the guidance that WF Team shipped last year, but I never hear开发者_高级运维d about changes on some classes that inherits from ExternalDataEventArgs, I have to remain using the System.WorkFlow.Activities namespace for it?

Thanks


Anything using ExternalDataEventArgs and the like was a thin wrapper around WF3 queues. The WF3 queue API is replaced with the WF4 bookmarks. So create a bookmark in your activities and resume it with a single piece of data that is send into the activity when it resumes.

0

精彩评论

暂无评论...
验证码 换一张
取 消