IConnectionPoint Gränssnitt

Definition

Tillhandahåller den hanterade definitionen av IConnectionPoint gränssnittet.

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
Attribut

Kommentarer

Mer information finns i den befintliga dokumentationen för IConnectionPoint i MSDN-biblioteket.

Den vanliga språkkörningen utlöser ett undantag när en COM-metod i intern kod returnerar en HRESULT. Mer information finns i Så här: Mappa HRESULT och undantag.

Metoder

Name Description
Advise(Object, Int32)

Upprättar en rådgivande anslutning mellan anslutningspunkten och anroparens mottagarobjekt.

EnumConnections(IEnumConnections)

Skapar ett uppräkningsobjekt för iteration via de anslutningar som finns till den här anslutningspunkten.

GetConnectionInterface(Guid)

Returnerar IID för det utgående gränssnittet som hanteras av den här anslutningspunkten.

GetConnectionPointContainer(IConnectionPointContainer)

Hämtar gränssnittspekaren IConnectionPointContainer till det anslutningsbara objekt som konceptuellt äger den här anslutningspunkten.

Unadvise(Int32)

Avslutar en rådgivande anslutning som tidigare upprättats via Advise(Object, Int32) metoden.

Gäller för