for an object to be serializable, every property must be serializable. if
its a collection, then all objects in the collection need to be
serializable, otherwise would good would serializing a collection out and
restoring it if it did not contain the same objects.
a hashtable can be serialized, it it only contains serializable objects.
DataTables are also serializable. almost all components (objects that
implement Dispose), are not serializable.
-- bruce (sqlwork.com)
"Coco" <Co**@discussions.microsoft.com> wrote in message
news:8E**********************************@microsof t.com...
Hi,
I am currently migration my session state from InProcess to StateServer.
I notice that the object that i want to put in the session must be
serializable.
What about the objects like DataTable and Hashtable, how can i keep than
into the session, i don't think they are serializable. What if i am create
a
collect object and make it serializable, does the object in this
collection
object must be serializable too?