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).
System.ComponentModel.MarshalByValueComponent
System.Data.DataColumn
System.Data.DataSet
System.Data.DataTable
System.Data.DataView
System.Data.DataViewManager
System.Web.Services.WebService
Namespace: System.ComponentModel
Assembly: System (in System.dll)
The MarshalByValueComponent type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | MarshalByValueComponent | Initializes a new instance of the MarshalByValueComponent class. |
| Name | Description | |
|---|---|---|
![]() ![]() | Container | Gets the container for the component. |
![]() ![]() | DesignMode | Gets a value indicating whether the component is currently in design mode. |
![]() ![]() | Events | Gets the list of event handlers that are attached to this component. |
![]() ![]() | Site | Gets or sets the site of the component. |
| Name | Description | |
|---|---|---|
![]() ![]() | Dispose() | Releases all resources used by the MarshalByValueComponent. |
![]() ![]() | Dispose(Boolean) | Releases the unmanaged resources used by the MarshalByValueComponent and optionally releases the managed resources. |
![]() ![]() | Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() ![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Overrides Object.Finalize().) |
![]() ![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() ![]() | GetService | Gets the implementer of the IServiceProvider. |
![]() ![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() | ToString | Returns a String containing the name of the Component, if any. This method should not be overridden. (Overrides Object.ToString().) |
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 InheritorsWhen you inherit from this class, you can override the Dispose, Site, and the GetService methods.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.





