The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MarshalByValueComponent Class

Implements IComponent and provides the base implementation for remotable components that are marshaled by value (a copy of the serialized object is passed).

For a list of all members of this type, see MarshalByValueComponent Members.

      Derived classes

[Visual Basic]
Public Class MarshalByValueComponent
   Implements IComponent, IDisposable, IServiceProvider
public class MarshalByValueComponent : IComponent, IDisposable,
public __gc class MarshalByValueComponent : public IComponent,
   IDisposable, IServiceProvider
public class MarshalByValueComponent implements IComponent,
   IDisposable, IServiceProvider

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


A component can be contained in a container. For each component in a container, the container creates a site that it uses to manage the component. The component interacts with its container primarily through a container-provided ISite, which is a repository of container-specific, per-component information.

Notes to Inheritors:  When you inherit from this class, you can override the Dispose, Site, and the GetService methods.


Namespace: System.ComponentModel

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

Assembly: System (in System.dll)

See Also

MarshalByValueComponent Members | System.ComponentModel Namespace | ISite

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft