UCOMIConnectionPoint UCOMIConnectionPoint UCOMIConnectionPoint UCOMIConnectionPoint Interface

定义

警告

此 API 现已过时。

请改用 IConnectionPointUse IConnectionPoint instead.

public interface class UCOMIConnectionPoint
[System.Obsolete]
[System.Runtime.InteropServices.Guid("b196b286-bab4-101a-b69c-00aa00341d07")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Runtime.InteropServices.Guid("B196B286-BAB4-101A-B69C-00AA00341D07")]
[System.Obsolete("Use System.Runtime.InteropServices.ComTypes.IConnectionPoint instead. http://go.microsoft.com/fwlink/?linkid=14202", false)]
public interface UCOMIConnectionPoint
type UCOMIConnectionPoint = interface
Public Interface UCOMIConnectionPoint
属性

注解

有关详细信息,请参阅的现有文档IConnectionPointMSDN 库的 com 子文件夹中。For more information, please see the existing documentation for IConnectionPoint in the com subfolder of the MSDN library.

方法

Advise(Object, Int32) Advise(Object, Int32) Advise(Object, Int32) Advise(Object, Int32)

在连接点和调用方的接收器对象之间建立一个通知连接。Establishes an advisory connection between the connection point and the caller's sink object.

EnumConnections(UCOMIEnumConnections) EnumConnections(UCOMIEnumConnections) EnumConnections(UCOMIEnumConnections) EnumConnections(UCOMIEnumConnections)

创建枚举数对象,以便循环访问到此连接点的现有连接。Creates an enumerator object for iteration through the connections that exist to this connection point.

GetConnectionInterface(Guid) GetConnectionInterface(Guid) GetConnectionInterface(Guid) GetConnectionInterface(Guid)

返回由此连接点管理的输出接口的 IID。Returns the IID of the outgoing interface managed by this connection point.

GetConnectionPointContainer(UCOMIConnectionPointContainer) GetConnectionPointContainer(UCOMIConnectionPointContainer) GetConnectionPointContainer(UCOMIConnectionPointContainer) GetConnectionPointContainer(UCOMIConnectionPointContainer)

检索指向在概念上拥有此连接点的可连接对象的 IConnectionPointContainer 接口指针。Retrieves the IConnectionPointContainer interface pointer to the connectable object that conceptually owns this connection point.

Unadvise(Int32) Unadvise(Int32) Unadvise(Int32) Unadvise(Int32)

终止先前通过 Advise(Object, Int32) 建立的通知连接。Terminates an advisory connection previously established through Advise(Object, Int32).

适用于