WPF连接WF4的问题

     这一段研究一下WF4,一个小小的问题就让我纠结半天,做一个问题汇总:

1、There is no context attached to the incoming message for the service and the current operation is not marked with "CanCreateInstance = true".

对于这个问题,出现的原因是,新添加的 WCF Workflow Service上的Receive活动的CanCreateInstance属性没有勾选,勾选上就OK了。如下图:

原文地址:https://www.cnblogs.com/sshoub/p/2375548.html