IConnectionPoint Antarmuka

Definisi

Menyediakan definisi antarmuka terkelola 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
Atribut

Keterangan

Untuk informasi selengkapnya, lihat dokumentasi yang ada untuk IConnectionPoint di pustaka MSDN.

Runtime bahasa umum memberikan pengecualian saat metode COM dalam kode asli mengembalikan HRESULT. Untuk informasi selengkapnya, lihat Cara: Memetakan HRESULT dan Pengecualian.

Metode

Advise(Object, Int32)

Membuat koneksi saran antara titik koneksi dan objek sink pemanggil.

EnumConnections(IEnumConnections)

Membuat objek enumerator untuk perulangan melalui koneksi yang ada ke titik koneksi ini.

GetConnectionInterface(Guid)

Mengembalikan IID antarmuka keluar yang dikelola oleh titik koneksi ini.

GetConnectionPointContainer(IConnectionPointContainer)

Mengambil penunjuk IConnectionPointContainer antarmuka ke objek yang dapat dihubungkan yang secara konseptual memiliki titik koneksi ini.

Unadvise(Int32)

Mengakhiri koneksi penasihat yang sebelumnya dibuat melalui Advise(Object, Int32) metode .

Berlaku untuk