STATDATA STATDATA STATDATA STATDATA Struct

定義

提供 STATDATA 結構的 Managed 定義。Provides the managed definition of the STATDATA structure.

public value class STATDATA
public struct STATDATA
type STATDATA = struct
Public Structure STATDATA
繼承

備註

STATDATA結構是用來指定每個諮詢連接的資料結構。The STATDATA structure is the data structure used to specify each advisory connection. 它是用來列舉目前的諮詢連接。It is used for enumerating current advisory connections.

如需STATDATA結構的詳細資訊, 請參閱 MSDN Library。For more information about the STATDATA structure, see the MSDN Library.

當原生程式碼中的 COM 方法傳回 HRESULT 時, common language runtime 會擲回例外狀況。The common language runtime throws an exception when a COM method in native code returns an HRESULT. 如需詳細資訊,請參閱 How to: Map HRESULTs and ExceptionsFor more information, see How to: Map HRESULTs and Exceptions.

欄位

advf advf advf advf

表示 ADVF 列舉值,決定告知諮詢接收資料變更的時機。Represents the ADVF enumeration value that determines when the advisory sink is notified of changes in the data.

advSink advSink advSink advSink

表示要接收變更告知的 IAdviseSink 介面。Represents the IAdviseSink interface that will receive change notifications.

connection connection connection connection

表示可唯一識別諮詢連接的語彙基元 (Token)。Represents the token that uniquely identifies the advisory connection. 這個語彙基元是由設定諮詢連接的方法所傳回。This token is returned by the method that sets up the advisory connection.

formatetc formatetc formatetc formatetc

表示通知接收相關資料的 FORMATETC 結構。Represents the FORMATETC structure for the data of interest to the advise sink. 通知接收會收到這個 FORMATETC 結構所指定之資料的變更告知。The advise sink receives notification of changes to the data specified by this FORMATETC structure.

適用於