MarshalByValueComponent 构造函数

定义

初始化 MarshalByValueComponent 类的新实例。Initializes a new instance of the MarshalByValueComponent class.

public:
 MarshalByValueComponent();
public MarshalByValueComponent ();
Public Sub New ()

注解

组件可以包含在容器中。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. 组件主要通过容器 ISite (提供的容器特定的、每个组件的信息存储库)与其容器交互。The component interacts with its container primarily through a container-provided ISite, which is a repository of container-specific, per-component information.

适用于

另请参阅