Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

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.

System.Object
   System.ComponentModel.MarshalByValueComponent
      Derived classes

[Visual Basic]
Public Class MarshalByValueComponent
   Implements IComponent, IDisposable, IServiceProvider
[C#]
public class MarshalByValueComponent : IComponent, IDisposable,
   IServiceProvider
[C++]
public __gc class MarshalByValueComponent : public IComponent,
   IDisposable, IServiceProvider
[JScript]
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.

Remarks

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.

Requirements

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.