开发者

Wf 4 Receive Activity: Difference between Messages and Parameters

开发者 https://www.devze.com 2023-01-07 15:46 出处:网络
Receive activ开发者_运维技巧ities in WF4 can take two kind of values, Message or Parameters. Does anybody know the different between these two?

Receive activ开发者_运维技巧ities in WF4 can take two kind of values, Message or Parameters. Does anybody know the different between these two?

cheers


Not much out there on the differences, but I did find one link that might illuminate the difference. Based on what I've found, it looks like the real difference is in how each is used by WCF. Check out: http://social.msdn.microsoft.com/Forums/en/wfprerelease/thread/6fada456-435e-49d6-aaf3-283315b21c13

Based on how I read this, I think the Message is used when you have a MessageContract to pass in, whereas Parameters are for types without a MessageContract wrapper, or for DataContracts.

0

精彩评论

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