다음을 통해 공유


TypeDelegator 클래스

Type 개체를 랩핑하고 모든 메서드를 해당 Type에 위임시킵니다.

네임스페이스: System.Reflection
어셈블리: mscorlib(mscorlib.dll)

구문

‘선언
<SerializableAttribute> _
<ComVisibleAttribute(True)> _
Public Class TypeDelegator
    Inherits Type
‘사용 방법
Dim instance As TypeDelegator
[SerializableAttribute] 
[ComVisibleAttribute(true)] 
public class TypeDelegator : Type
[SerializableAttribute] 
[ComVisibleAttribute(true)] 
public ref class TypeDelegator : public Type
/** @attribute SerializableAttribute() */ 
/** @attribute ComVisibleAttribute(true) */ 
public class TypeDelegator extends Type
SerializableAttribute 
ComVisibleAttribute(true) 
public class TypeDelegator extends Type

설명

대리자는 관리 코드 개체에 대해 사용되어 메서드 호출을 캡슐화합니다. 이러한 대리자는 주로 Event 알림과 콜백에 사용합니다.

이러한 형식에서 파생되어 사용자 지정할 메서드만 오버로드합니다.

상속 계층 구조

System.Object
   System.Reflection.MemberInfo
     System.Type
      System.Reflection.TypeDelegator

스레드로부터의 안전성

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

플랫폼

Windows 98, Windows 2000 SP4, Windows Millennium Edition, 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에서 지원

참고 항목

참조

TypeDelegator 멤버
System.Reflection 네임스페이스