Using DataContractResolver in WF4

We are developing workflows in WF4 way. When we use some custom classes we have to add them to knowntypes collection in each send/receive activity to avoid serialization exception. Is there any way we can use DataContractResolver feature which is a new dotnet 4 feature to avoid adding knowntypes ? Or any alternate solution if any one can suggest ?? Thanks.


当然 - 请查看示例:http://msdn.microsoft.com/en-us/library/dd807504.aspx

链接地址: http://www.djcxy.com/p/95868.html

上一篇: 在工作流程4 RC中指定的活动

下一篇: 在WF4中使用DataContractResolver