UCOMIConnectionPoint 介面

定義

警告

此 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. https://go.microsoft.com/fwlink/?linkid=14202", false)]
public interface UCOMIConnectionPoint
type UCOMIConnectionPoint = interface
Public Interface UCOMIConnectionPoint
屬性

備註

如需詳細資訊,請參閱 MSDN library 的 com 子資料夾中 IConnectionPoint 的現有檔。For more information, please see the existing documentation for IConnectionPoint in the com subfolder of the MSDN library.

方法

Advise(Object, Int32)

在連接點和呼叫端的接收物件之間建立諮詢連接 (Advisory Connection)。Establishes an advisory connection between the connection point and the caller's sink object.

EnumConnections(UCOMIEnumConnections)

建立列舉值物件,以逐一查看存在於這個連接點的連接。Creates an enumerator object for iteration through the connections that exist to this connection point.

GetConnectionInterface(Guid)

傳回這個連接點所管理之輸出介面的 IID。Returns the IID of the outgoing interface managed by this connection point.

GetConnectionPointContainer(UCOMIConnectionPointContainer)

擷取在概念上擁有這個連接點之可連接物件的 IConnectionPointContainer 介面指標。Retrieves the IConnectionPointContainer interface pointer to the connectable object that conceptually owns this connection point.

Unadvise(Int32)

結束先前透過 Advise(Object, Int32) 建立的諮詢連接。Terminates an advisory connection previously established through Advise(Object, Int32).

適用於