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 コントロールとクライアントの間の接続を確立します。

適用対象