共用方式為


ICorDebugDebugEvent::GetEventKind 方法

指出此 ICorDebugDebugEvent 物件所代表的事件類型。

語法

HRESULT GetEventKind(
    [out]CorDebugDebugEventKind *pDebugEventKind
);

參數

pDebugEventKind CorDebugDebugEventKind 列舉成員的指標,指出事件的類型。

備註

根據 的 pDebugEventKind值,您可以呼叫 QueryInterface 以取得具有其他資料的更精確偵錯事件介面。

備註

此方法僅適用於 .NET 原生。

需求

平台: 請參閱 .NET 支援的作業系統

標題: CorDebug.idl、CorDebug.h

圖書館: CorGuids.lib

.NET 版本: 從 .NET Framework 4.6 開始提供

另請參閱