Defines the base class for all context-bound classes.
For a list of all members of this type, see ContextBoundObject Members.
[Visual Basic] <Serializable> MustInherit Public Class ContextBoundObject Inherits MarshalByRefObject [C#] [Serializable] public abstract class ContextBoundObject : MarshalByRefObject [C++] [Serializable] public __gc __abstract class ContextBoundObject : public MarshalByRefObject [JScript] public Serializable abstract class ContextBoundObject extends MarshalByRefObject
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Objects that reside in a context and are bound to the context rules are called context-bound objects. A context is a set of properties or usage rules that define an environment where a collection of objects resides. The rules are enforced when the objects are entering or leaving a context. Objects that are not context-bound are called agile objects.
Contexts are created during object activation. A new object is placed into an existing context or into a new context created using the attributes included in the metadata of the type. Context-bound classes are marked with a ContextAttribute that provides the usage rules. The context properties that can be added include policies regarding synchronization and transactions.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: Mscorlib (in Mscorlib.dll)