G
Guest
I have a class with some public event fields. It appears that when I try to
serialize this class using a BinaryFormatter, the BinaryFormatter also tries
to serialize all the objects subscribed to the event. Is that right?
If that is what's going on, I don't want it to try to serialize subscribers
to the event. I tried marking the event with the [Nonserialized] attribute
but the compiler won't allow that. Any solutions?
Thanks
serialize this class using a BinaryFormatter, the BinaryFormatter also tries
to serialize all the objects subscribed to the event. Is that right?
If that is what's going on, I don't want it to try to serialize subscribers
to the event. I tried marking the event with the [Nonserialized] attribute
but the compiler won't allow that. Any solutions?
Thanks