Saturday, June 25, 2005

[Opf3] Why does ObjectContext inherit MarshalByRefObject?

The ObjectContext class inherits MarshalByRefObject because it manages local resources (instance of storages etc.). The instances of ObjectContext should not be serialized during Remoting but a proxy class should be generated and send to the client. This can be accomplished by deriving from MarshalByRefObject.

0 Comments:

Post a Comment

<< Home