CONNECTDATA Struktur

Definisi

Perhatian

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

Gunakan CONNECTDATA sebagai gantinya.

public value class CONNECTDATA
[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
[<System.Runtime.InteropServices.ComVisible(false)>]
type CONNECTDATA = struct
[<System.Obsolete("Use System.Runtime.InteropServices.ComTypes.CONNECTDATA instead. http://go.microsoft.com/fwlink/?linkid=14202", false)>]
type CONNECTDATA = struct
Public Structure CONNECTDATA
Warisan
CONNECTDATA
Atribut

Keterangan

Strukturnya CONNECTDATA adalah jenis yang dijumlahkan melalui UCOMIEnumConnections.Next metode .

Untuk informasi selengkapnya tentang CONNECTDATA, lihat Pustaka MSDN.

Bidang

dwCookie
Kedaluwarsa.

Mewakili token koneksi yang dikembalikan dari panggilan ke Advise(Object, Int32).

pUnk
Kedaluwarsa.

Mewakili penunjuk ke IUnknown antarmuka pada sink penasihat yang terhubung. Penelepon harus memanggil IUnknown::Release penunjuk ini ketika CONNECTDATA struktur tidak lagi diperlukan.

Berlaku untuk