Compartilhar via


Interface UCOMIConnectionPoint

 

Dica

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Observação: Esta API agora está obsoleta.

Use System.Runtime.InteropServices.ComTypes.IConnectionPoint em seu lugar.

Namespace:   System.Runtime.InteropServices
Assembly:  mscorlib (em mscorlib.dll)

Sintaxe

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

Métodos

Nome Descrição
System_CAPS_pubmethod Advise(Object, Int32)

Estabelece uma conexão de consultoria entre o ponto de conexão e o objeto do coletor do chamador.

System_CAPS_pubmethod EnumConnections(UCOMIEnumConnections)

Cria um objeto enumerador para iteração por meio de conexões existentes nesse ponto de conexão.

System_CAPS_pubmethod GetConnectionInterface(Guid)

Retorna o IID da interface de saída gerenciada por esse ponto de conexão.

System_CAPS_pubmethod GetConnectionPointContainer(UCOMIConnectionPointContainer)

Recupera o ponteiro de interface IConnectionPointContainer do objeto conectável que tem esse ponto de conexão conceitualmente.

System_CAPS_pubmethod Unadvise(Int32)

Encerra uma conexão de consultoria estabelecida anteriormente por meio de UCOMIConnectionPoint.Advise.

Comentários

Para obter mais informações, consulte a documentação existente para IConnectionPoint na subpasta da biblioteca MSDN.

Informações de Versão

.NET Framework
Disponível desde 1.1

Confira Também

Namespace System.Runtime.InteropServices

Retornar ao início