.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

WF 4 PersistenceParticipant

Posted By:      Posted Date: May 22, 2011    Points: 0   Category :JQuery


I'm new to Workflow Foundation and i'm having a hard time to figure out how can i persist my custom data once workflow persists its own state.

I'm overriding BeginOnSave method of PersistenceIOParticpant and i can't access my custom object from the workflow.

I tried the following code with no success.


LocationInfo loc = writeOnlyValues.Values.Single(o => o as LocationInfo !=

View Complete Post

More Related Resource Links

Can a PersistenceParticipant remove an instance from state

I am trying to prevent persistence from persisting a non-serializable instance. Is it possible for a PersistenceParticipant extension to remove such a value in MapValues before the workflow is placed into durable storage? The instance in my case is provided via    context.ScheduleAction(Body, _instance, OnCompleted, null);   The instance here is provided by an extension and resolved from outside the workflow instance logic and control. There is no guarantee that the instance is serializable. I want the PersistenceParticipant extension to be able to pull this instance out of the workflow state data before it is serialized and then recreate again in PublishValues. Is this possible?
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend