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).

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

System.Object
  System.ComponentModel.MarshalByValueComponent
    System.Data.DataColumn
    System.Data.DataSet
    System.Data.DataTable
    System.Data.DataView
    System.Data.DataViewManager
    System.Web.Services.WebService

<ComVisibleAttribute(True)>
<TypeConverterAttribute(GetType(ComponentConverter))>
Public Class MarshalByValueComponent
	Implements IComponent, IDisposable, IServiceProvider

NameDescription
System_CAPS_pubmethodMarshalByValueComponent()

Initializes a new instance of the MarshalByValueComponent class.

NameDescription
System_CAPS_pubpropertyContainer

Gets the container for the component.

System_CAPS_pubpropertyDesignMode

Gets a value indicating whether the component is currently in design mode.

System_CAPS_protpropertyEvents

Gets the list of event handlers that are attached to this component.

System_CAPS_pubpropertySite

Gets or sets the site of the component.

NameDescription
System_CAPS_pubmethodDispose()

Releases all resources used by the MarshalByValueComponent.

System_CAPS_protmethodDispose(Boolean)

Releases the unmanaged resources used by the MarshalByValueComponent and optionally releases the managed resources.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Overrides Object.Finalize().)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetService(Type)

Gets the implementer of the IServiceProvider.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a String containing the name of the Component, if any. This method should not be overridden.(Overrides Object.ToString().)

NameDescription
System_CAPS_pubeventDisposed

Adds an event handler to listen to the Disposed event on the component.

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.

.NET Framework
Available since 1.1

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

Return to top
Show: