I serialize Tracking Records to files and experienced a problem with BookmarkResumptionRecords. The Payload property of the BookmarkResumptionRecord is of type object and contains some times an object of the type "System.ServiceModel.Activities.WorkflowOperationContext".
The problem is that this type is internal (i.e. not accessible from code outside the .Net framework assembly) and therefore I can not specify it as a KnownType to my DataContractSerializer.
Right now I use reflection as a workaround, but I would like to know if there is a better solution to this problem.
View Complete Post