IConnectionPoint 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
提供接口的 IConnectionPoint 托管定义。
public interface class IConnectionPoint
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IConnectionPoint
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Runtime.InteropServices.Guid("B196B286-BAB4-101A-B69C-00AA00341D07")]
public interface IConnectionPoint
public interface IConnectionPoint
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IConnectionPoint = interface
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Runtime.InteropServices.Guid("B196B286-BAB4-101A-B69C-00AA00341D07")>]
type IConnectionPoint = interface
type IConnectionPoint = interface
Public Interface IConnectionPoint
- 属性
注解
有关详细信息,请参阅 MSDN 库中的现有文档 IConnectionPoint 。
当本机代码中的 COM 方法返回 HRESULT 时,公共语言运行时将引发异常。 有关详细信息,请参阅 如何:映射 HRESULT 和异常。
方法
| 名称 | 说明 |
|---|---|
| Advise(Object, Int32) |
在连接点与调用方接收器对象之间建立咨询连接。 |
| EnumConnections(IEnumConnections) |
创建用于循环访问此连接点的连接的枚举器对象。 |
| GetConnectionInterface(Guid) |
返回此连接点管理的传出接口的 IID。 |
| GetConnectionPointContainer(IConnectionPointContainer) |
|
| Unadvise(Int32) |
终止以前通过 Advise(Object, Int32) 该方法建立的公告连接。 |