CONNECTDATA CONNECTDATA CONNECTDATA CONNECTDATA Struct

定义

警告

此 API 现已过时。

请改用 CONNECTDATAUse CONNECTDATA instead.

public value class CONNECTDATA
[System.Obsolete("Use System.Runtime.InteropServices.ComTypes.CONNECTDATA instead. http://go.microsoft.com/fwlink/?linkid=14202", false)]
[System.Runtime.InteropServices.ComVisible(false)]
public struct CONNECTDATA
type CONNECTDATA = struct
Public Structure CONNECTDATA
继承
CONNECTDATACONNECTDATACONNECTDATACONNECTDATA
属性

注解

CONNECTDATA结构是通过枚举的类型UCOMIEnumConnections.Next方法。The CONNECTDATA structure is the type enumerated through the UCOMIEnumConnections.Next method.

有关详细信息CONNECTDATA,请参阅 MSDN 库。For more information about CONNECTDATA, see the MSDN Library.

字段

dwCookie dwCookie dwCookie dwCookie

表示从 Advise(Object, Int32) 调用中返回的连接标记。Represents a connection token that is returned from a call to Advise(Object, Int32).

pUnk pUnk pUnk pUnk

表示指向已连接的通知接收器上的 IUnknown 接口的指针。Represents a pointer to the IUnknown interface on a connected advisory sink. 当不再需要 IUnknown::Release 结构时,调用方必须在此指针上调用 CONNECTDATAThe caller must call IUnknown::Release on this pointer when the CONNECTDATA structure is no longer needed.

适用于