System.InvalidOperationException: 工作流的事件接收器上下文无效。

Error in commiting pending workflow batch items: System.InvalidOperationException: 工作流的事件接收器上下文无效。

System.InvalidOperationException: The event receiver context for Workflow is invalid

 

这是由于在创建Task的时候没有为Task指定TaskID, TaskProperties, 或者CorrelationToken

createTaskA_TaskId = Guid.NewGuid();


 

posted @ 2009-02-11 20:47  邑尘  阅读(407)  评论(0)    收藏  举报