Редагувати

Поділитися через


UCOMIConnectionPoint Interface

Definition

Caution

Use System.Runtime.InteropServices.ComTypes.IConnectionPoint instead. http://go.microsoft.com/fwlink/?linkid=14202

Use IConnectionPoint instead.

public interface class UCOMIConnectionPoint
[System.Runtime.InteropServices.Guid("B196B286-BAB4-101A-B69C-00AA00341D07")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface UCOMIConnectionPoint
[System.Runtime.InteropServices.Guid("B196B286-BAB4-101A-B69C-00AA00341D07")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Obsolete("Use System.Runtime.InteropServices.ComTypes.IConnectionPoint instead. http://go.microsoft.com/fwlink/?linkid=14202", false)]
public interface UCOMIConnectionPoint
[<System.Runtime.InteropServices.Guid("B196B286-BAB4-101A-B69C-00AA00341D07")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type UCOMIConnectionPoint = interface
[<System.Runtime.InteropServices.Guid("B196B286-BAB4-101A-B69C-00AA00341D07")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Obsolete("Use System.Runtime.InteropServices.ComTypes.IConnectionPoint instead. http://go.microsoft.com/fwlink/?linkid=14202", false)>]
type UCOMIConnectionPoint = interface
Public Interface UCOMIConnectionPoint
Attributes

Remarks

For more information, please see the existing documentation for IConnectionPoint in the com subfolder of the MSDN library.

Methods

Advise(Object, Int32)

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

EnumConnections(UCOMIEnumConnections)

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(UCOMIConnectionPointContainer)

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

Unadvise(Int32)

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

Applies to