federubin
federubin

Reputation: 636

Wf 4 Receive Activity: Difference between Messages and Parameters

Receive activities in WF4 can take two kind of values, Message or Parameters. Does anybody know the different between these two?

cheers

Upvotes: 5

Views: 1040

Answers (1)

Brandon Satrom
Brandon Satrom

Reputation: 1821

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.

Upvotes: 3

Related Questions