S
Sam Marrocco
I've created a collection class that inherits NameObjectCollectionBase
(call it MyCollection). MyCollection is declared as serializable, and
serializes fine. A cursory glance into the serialized data seems to
contain everything in MyCollection and it's base class data, but when I
attempt to deserialize it, I get errors about not being able to find the
deserialization constructor.
Is something not being "passed through" from the inherited
NameObjectCollectionBase into MyCollection class that is preventing
deserialization? I can't seem to find any methods or properties in
NameObjectCollectionBase that indicate deserialization, so where would
they be? I could see implementing an IFormatter interface in
MyCollection, but what would I call in it's methods?
-Sam
(call it MyCollection). MyCollection is declared as serializable, and
serializes fine. A cursory glance into the serialized data seems to
contain everything in MyCollection and it's base class data, but when I
attempt to deserialize it, I get errors about not being able to find the
deserialization constructor.
Is something not being "passed through" from the inherited
NameObjectCollectionBase into MyCollection class that is preventing
deserialization? I can't seem to find any methods or properties in
NameObjectCollectionBase that indicate deserialization, so where would
they be? I could see implementing an IFormatter interface in
MyCollection, but what would I call in it's methods?
-Sam