Compartir a través de


Estructura CONNECTDATA

 

Publicado: octubre de 2016

Nota: Esta API ahora está obsoleta.

Utilice System.Runtime.InteropServices.ComTypes.CONNECTDATA en su lugar.

Espacio de nombres:   System.Runtime.InteropServices
Ensamblado:  mscorlib (en mscorlib.dll)

Sintaxis

[ObsoleteAttribute("Use System.Runtime.InteropServices.ComTypes.CONNECTDATA instead. https://go.microsoft.com/fwlink/?linkid=14202", 
    false)]
public struct CONNECTDATA
[ObsoleteAttribute("Use System.Runtime.InteropServices.ComTypes.CONNECTDATA instead. https://go.microsoft.com/fwlink/?linkid=14202", 
    false)]
public value struct CONNECTDATA
[<Sealed>]
[<ObsoleteAttribute("Use System.Runtime.InteropServices.ComTypes.CONNECTDATA instead. https://go.microsoft.com/fwlink/?linkid=14202",
    false)>]
type CONNECTDATA = struct end
<ObsoleteAttribute("Use System.Runtime.InteropServices.ComTypes.CONNECTDATA instead. https://go.microsoft.com/fwlink/?linkid=14202",
    False)>
Public Structure CONNECTDATA

Métodos

Nombre Descripción
System_CAPS_pubmethod Equals(Object)

Indica si esta instancia y un objeto especificado son iguales.(Heredado de ValueType).

System_CAPS_pubmethod GetHashCode()

Devuelve el código hash de esta instancia.(Heredado de ValueType).

System_CAPS_pubmethod GetType()

Obtiene el Type de la instancia actual.(Heredado de Object).

System_CAPS_pubmethod ToString()

Devuelve el nombre de tipo completo de esta instancia.(Heredado de ValueType).

Campos

Nombre Descripción
System_CAPS_pubfield dwCookie

Representa un símbolo (token) de conexión que se devuelve de una llamada a UCOMIConnectionPoint.Advise.

System_CAPS_pubfield pUnk

Representa un puntero a la IUnknown interfaz en un receptor de consulta conectado. El llamador debe llamar a IUnknown::Release en este puntero cuando la CONNECTDATA estructura ya no es necesario.

Comentarios

The CONNECTDATA structure is the type enumerated through the M:System.Runtime.InteropServices.UCOMIEnumConnections.Next(System.Int32,System.Runtime.InteropServices.CONNECTDATA[],System.Int32@) method.

For more information about CONNECTDATA, see the MSDN Library.

Información de versión

.NET Framework
Disponible desde 1.1

Seguridad para subprocesos

Cualquier miembro ( Compartido en Visual Basic) estático público de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Ver también

Espacio de nombres System.Runtime.InteropServices

Volver al principio