Is it possible to serialize a VirtualStream for dehydration/rehydratation purposes? I have an aggregation helper class that is used to assemble a large message (from many small ones) over the duration of an orchestration. Right now I'm using a memorystream to store the aggregated messages, but I would like to buffer the content to disk since the large messages will grow in the future. I saw how I could store my aggregated messages using a filestream in this post (which is exactly what I need), but I would prefer to use the VirtualStream for performance reasons. Is there any way to create a class that inherits from VirtualStream and that could be serialized?
- Edited by chgag Wednesday, April 22, 2015 11:24 PM