ComEventInterfaceAttribute(Type, Type) 생성자

정의

소스 인터페이스와 이벤트 공급자 클래스를 사용하여 ComEventInterfaceAttribute 클래스의 새 인스턴스를 초기화합니다.

public:
 ComEventInterfaceAttribute(Type ^ SourceInterface, Type ^ EventProvider);
public ComEventInterfaceAttribute (Type SourceInterface, Type EventProvider);
new System.Runtime.InteropServices.ComEventInterfaceAttribute : Type * Type -> System.Runtime.InteropServices.ComEventInterfaceAttribute
Public Sub New (SourceInterface As Type, EventProvider As Type)

매개 변수

SourceInterface
Type

형식 라이브러리의 원본 소스 인터페이스를 포함하는 Type입니다. COM에서는 이 인터페이스를 사용하여 관리되는 클래스를 다시 호출합니다.

EventProvider
Type

이벤트 인터페이스의 메서드를 구현하는 클래스를 포함하는 Type입니다.

적용 대상