다음을 통해 공유


MarshalByValueComponent 클래스

IComponent를 구현하고 값으로 마샬링(serialize된 개체의 복사본이 전달)되는 원격 가능 구성 요소를 기본 구현합니다.

네임스페이스: System.ComponentModel
어셈블리: System(system.dll)

구문

‘선언
<ComVisibleAttribute(True)> _
Public Class MarshalByValueComponent
    Implements IComponent, IDisposable, IServiceProvider
‘사용 방법
Dim instance As MarshalByValueComponent
[ComVisibleAttribute(true)] 
public class MarshalByValueComponent : IComponent, IDisposable, IServiceProvider
[ComVisibleAttribute(true)] 
public ref class MarshalByValueComponent : IComponent, IDisposable, IServiceProvider
/** @attribute ComVisibleAttribute(true) */ 
public class MarshalByValueComponent implements IComponent, IDisposable, 
    IServiceProvider
ComVisibleAttribute(true) 
public class MarshalByValueComponent implements IComponent, IDisposable, 
    IServiceProvider

설명

구성 요소는 컨테이너에 포함될 수 있습니다. 컨테이너의 각 구성 요소에 대해 컨테이너는 해당 구성 요소를 관리하는 데 사용하는 사이트를 만듭니다. 구성 요소는 주로 컨테이너에서 제공하고 컨테이너 고유의 구성 요소별 정보가 저장되는 리포지토리인 ISite를 통해 컨테이너와 상호 작용합니다.

상속자 참고 사항 이 클래스에서 상속할 때는 Dispose, SiteGetService 메서드를 재정의할 수 있습니다.

상속 계층 구조

System.Object
  System.ComponentModel.MarshalByValueComponent
     파생 클래스

스레드로부터의 안전성

이 형식의 모든 public static(Visual Basic의 경우 Shared) 멤버는 스레드로부터 안전합니다. 인터페이스 멤버는 스레드로부터 안전하지 않습니다.

플랫폼

Windows 98, Windows 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

.NET Framework에서 모든 플래폼의 모든 버전을 지원하지는 않습니다. 지원되는 버전의 목록은 시스템 요구 사항을 참조하십시오.

버전 정보

.NET Framework

2.0, 1.1, 1.0에서 지원

.NET Compact Framework

2.0, 1.0에서 지원

참고 항목

참조

MarshalByValueComponent 멤버
System.ComponentModel 네임스페이스
ISite 인터페이스