DekGenius.com
[ Team LiB ] Previous Section Next Section

ContextBoundObjectserializable, marshal by reference, context bound

System (mscorlib.dll)abstract class

An object inheriting from ContextBoundObject shares characteristics with an object inheriting from MarshalByRefObject. The difference is that a context further subdivides a domain. While instances of MarshalByRefObject are passed to other domains by reference and must interact through proxy objects, instances of ContextBoundObject are passed by reference to other contexts, even in the same domain. Unlike domains, contexts can provide a rich environment with other services such as synchronization, transactions, just-in-time activation, and security.

For more information, consult the System.Runtime.Remoting.Contexts namespace.

public abstract class ContextBoundObject : MarshalByRefObject {
// Protected Constructors
   protected ContextBoundObject( );
}

Hierarchy

Object MarshalByRefObject ContextBoundObject

    [ Team LiB ] Previous Section Next Section