Breyta

Deila með


IConnectionPoint Interface

Definition

Provides the managed definition of the IConnectionPoint interface.

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
Attributes

Remarks

For more information, see the existing documentation for IConnectionPoint in the MSDN library.

The common language runtime throws an exception when a COM method in native code returns an HRESULT. For more information, see How to: Map HRESULTs and Exceptions.

Methods

Advise(Object, Int32)

Establishes an advisory connection between the connection point and the caller's sink object.

EnumConnections(IEnumConnections)

Creates an enumerator object for iteration through the connections that exist to this connection point.

GetConnectionInterface(Guid)

Returns the IID of the outgoing interface managed by this connection point.

GetConnectionPointContainer(IConnectionPointContainer)

Retrieves the IConnectionPointContainer interface pointer to the connectable object that conceptually owns this connection point.

Unadvise(Int32)

Terminates an advisory connection previously established through the Advise(Object, Int32) method.

Applies to