IConnectionPoint 介面 (ocidl.h)

支援可連接對象的連接點。

繼承

IConnectionPoint 介面繼承自 IUnknown 介面。 IConnectionPoint 也有下列類型的成員:

方法

IConnectionPoint 介面具有這些方法。

 
IConnectionPoint::建議

建立連接點對象與用戶端接收之間的連線。
IConnectionPoint::EnumConnections

建立列舉值物件,以逐一查看這個連接點的目前連接。
IConnectionPoint::GetConnectionInterface

擷取這個連接點所管理之傳出介面的 IID。
IConnectionPoint::GetConnectionPointContainer

擷取父可連接物件的 IConnectionPointContainer 介面指標。
IConnectionPoint::Unadvise

終止先前在連接點對象與用戶端接收之間建立的諮詢連線。

備註

可連線的物件支援下列功能:

  • 傳出介面,例如事件集
  • 列舉傳出介面的 IID 的能力
  • 線上和中斷連出 IID 物件之接收與中斷連線的能力
  • 列舉存在特定傳出介面之連線的能力

規格需求

需求
最低支援的用戶端 Windows 2000 專業版 [傳統型應用程式 |UWP 應用程式]
最低支援的伺服器 Windows 2000 Server [傳統型應用程式 |UWP 應用程式]
目標平台 Windows
標頭 ocidl.h

另請參閱

IConnectionPointContainer

IEnumConnectionPoints

IEnumConnections