AxHost.ConnectionPointCookie(Object, Object, Type) Oluşturucu

Tanım

AxHost.ConnectionPointCookie sınıfının yeni bir örneğini başlatır.

Bu API, ürün altyapısını destekler ve doğrudan kodunuzdan kullanıma yönelik değildir.

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)

Parametreler

source
Object

Bağlantı noktaları içeren bağlanabilir bir nesne.

sink
Object

bağlantı noktasından giden çağrıları alan istemcinin havuzu.

eventInterface
Type

Bağlantı noktası nesnesi istenen giden arabirim.

Özel durumlar

source uygulamaz eventInterface.

sink uygulamaz eventInterface.

-veya- source uygulamaz IConnectionPointContainer.

Bağlantı noktası zaten bağlantı sınırına ulaştı ve daha fazlasını kabul edemiyor.

Açıklamalar

Oluşturucu, AxHost.ConnectionPointCookie ActiveX denetimi ile istemci arasında bir bağlantı kurar.

Şunlara uygulanır