ConnectionConsumerAttribute.ConnectionPointType プロパティ

定義

コンシューマー接続ポイントの接続ポイントの種類を取得します。

public:
 property Type ^ ConnectionPointType { Type ^ get(); };
public Type ConnectionPointType { get; }
member this.ConnectionPointType : Type
Public ReadOnly Property ConnectionPointType As Type

プロパティ値

接続ポイントの種類を示す Type

例外

無効な接続ポイントの種類 ( ConsumerConnectionPoint クラスから派生していない接続ポイントの種類) が使用されました。

注釈

このプロパティは、コンシューマー接続ポイントの Type を返します。 TypeConsumerConnectionPointから派生する必要があります。コールバック メソッドでconnectionPointTypeメタデータ要素を使用して ConnectionConsumerAttribute パラメーターを宣言する場合、宣言する型のインスタンスを使用して、標準のConsumerConnectionPoint クラスの代わりに接続ポイントを作成します。

適用対象