IConnectionPoint Interface
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Fournit la définition managée de l’interface 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
- Attributs
Remarques
Pour plus d’informations, consultez la documentation existante pour IConnectionPoint la bibliothèque MSDN.
Le Common Language Runtime lève une exception lorsqu’une méthode COM dans le code natif retourne un HRESULT. Pour plus d’informations, consultez How to : Map HRESULTs and Exceptions.
Méthodes
| Nom | Description |
|---|---|
| Advise(Object, Int32) |
Établit une connexion de conseil entre le point de connexion et l’objet récepteur de l’appelant. |
| EnumConnections(IEnumConnections) |
Crée un objet d’énumérateur pour l’itération via les connexions qui existent à ce point de connexion. |
| GetConnectionInterface(Guid) |
Retourne l’IID de l’interface sortante gérée par ce point de connexion. |
| GetConnectionPointContainer(IConnectionPointContainer) |
Récupère le |
| Unadvise(Int32) |
Termine une connexion de conseil précédemment établie par le biais de la Advise(Object, Int32) méthode. |