Export (0) Print
Expand All

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)

[TypeConverterAttribute(typeof(ComponentConverter))] 
[ComVisibleAttribute(true)] 
public class MarshalByValueComponent : IComponent, IDisposable, IServiceProvider
/** @attribute TypeConverterAttribute(System.ComponentModel.ComponentConverter) */ 
/** @attribute ComVisibleAttribute(true) */ 
public class MarshalByValueComponent implements IComponent, IDisposable, 
	IServiceProvider
TypeConverterAttribute(System.ComponentModel.ComponentConverter) 
ComVisibleAttribute(true) 
public class MarshalByValueComponent implements IComponent, IDisposable, 
	IServiceProvider
Not applicable.

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.

System.Object
  System.ComponentModel.MarshalByValueComponent
     Derived Classes

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

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

.NET Compact Framework

Supported in: 2.0, 1.0

XNA Framework

Supported in: 1.0

Community Additions

ADD
Show:
© 2014 Microsoft