AxHost.ConnectionPointCookie(Object, Object, Type) 생성자

정의

AxHost.ConnectionPointCookie 클래스의 새 인스턴스를 초기화합니다.

이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.

public:
 ConnectionPointCookie(System::Object ^ source, System::Object ^ sink, Type ^ eventInterface);
public ConnectionPointCookie(object source, object sink, Type eventInterface);
new System.Windows.Forms.AxHost.ConnectionPointCookie : obj * obj * Type -> System.Windows.Forms.AxHost.ConnectionPointCookie
Public Sub New (source As Object, sink As Object, eventInterface As Type)

매개 변수

source
Object

연결점을 포함하는 연결 가능한 개체입니다.

sink
Object

연결 지점에서 나가는 호출을 수신하는 클라이언트의 싱크입니다.

eventInterface
Type

연결 지점 개체가 요청되는 나가는 인터페이스입니다.

예외

source 을(를) 구현 eventInterface하지 않습니다.

sink 을(를) 구현 eventInterface하지 않습니다.

-또는-

source 을(를) 구현 IConnectionPointContainer하지 않습니다.

연결 지점이 이미 연결 제한에 도달했으며 더 이상 수락할 수 없습니다.

설명

AxHost.ConnectionPointCookie 생성자는 ActiveX 컨트롤과 클라이언트 간에 연결을 설정합니다.

적용 대상