CONNECTDATA Struct

Definition

Caution

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

Use CONNECTDATA instead.

[System.Runtime.InteropServices.ComVisible(false)]
public struct CONNECTDATA
[System.Obsolete("Use System.Runtime.InteropServices.ComTypes.CONNECTDATA instead. http://go.microsoft.com/fwlink/?linkid=14202", false)]
public struct CONNECTDATA
Inheritance
CONNECTDATA
Attributes

Remarks

The CONNECTDATA structure is the type enumerated through the UCOMIEnumConnections.Next method.

For more information about CONNECTDATA, see the MSDN Library.

Fields

dwCookie

Represents a connection token that is returned from a call to Advise(Object, Int32).

pUnk

Represents a pointer to the IUnknown interface on a connected advisory sink. The caller must call IUnknown::Release on this pointer when the CONNECTDATA structure is no longer needed.

Applies to

Product Versions (Obsolete)
.NET Framework 1.1 (2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1)