ConnectionConsumerAttribute.ConnectionPointType 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取使用者连接点的连接点类型。
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类。