Saving A Model Class On Suspension Using SuspensionManager in C++ RRS feed

  • Question

  • I am new at this and experimenting with the Common::SuspensionManager class right now.  I see that in C# it has a property called KnownTypes which I can use to add one of my model types to its list of types that it knows what to do with.  However, I don't see this property when I look at this class in C++. 

    I know I can can add the code I need to persist my model types into my viewmodel classes, then simply store app data (selected index, data file name, etc) using the SuspensionManager.  I want to make sure I have not missed anything.  I am confused because C# and C++ seem to diverge on the way we save user data during suspension.  At least from my naïve first pass at a web search on the subject. 

    Any thoughts?

    Dorian Klingenberg

    Friday, December 14, 2012 8:53 PM