Method to Prevent Workflow Foundation 3.5 from persisting an executing workflow
Is there a way to prevent a WCF 3.5 workflow from being persisted? I have an issue where some items in the workflow can开发者_开发技巧not be serialized so I need to block persistence. Is there a way do this in .NET 3.5?
Don't set up a persistance store? Or do you mean you have to be able to persist some but not others?
In your .config
, set PersistOnIdle="false"
. This will keep your Workflow from dehydrating when idle.
精彩评论