다음을 통해 공유


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

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

예외

sourceeventInterface를 구현하지 않습니다.

sinkeventInterface를 구현하지 않습니다.

또는 sourceIConnectionPointContainer를 구현하지 않습니다.

연결 지점이 이미 연결 한계에 도달하여 더 이상 수용할 수 없습니다.

설명

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

적용 대상