> It sounds like you should be able to get by with just implementing > IDeserializationCallback in the base class (and just sticking to > [Serializable] and *not* implementing ISerializable). Your implementation > of OnDeserialization would then just initialize the refcount field as needed > to fix it up. This interface is called after deserialization occurs and the > object (graph) has been completely reconstructed, but just before the > serializer returns the object reference to the caller (whoever it is that's > doing deserialization).
Thank you, this is exactly what I need. Seems I missed that when reading the docs. Fabian =================================== This list is hosted by DevelopMentorŪ http://www.develop.com Some .NET courses you may be interested in: Guerrilla ASP.NET, 26 Jan 2004, in Los Angeles http://www.develop.com/courses/gaspdotnetls Guerrilla .NET, 8 Dec 2003, in Los Angeles http://www.develop.com/courses/gdotnet View archives and manage your subscription(s) at http://discuss.develop.com