ICorDebugDataTarget2 介面

以邏輯方式擴充 ICorDebugDataTarget 介面。

方法

方法 描述
CreateVirtualUnwinder 方法 建立新的堆疊 unwinder,以從初始內容 (不一定是執行緒的分葉) 開始回溯。
EnumerateThreadIDs 方法 傳回使用中執行緒 ID 的清單。
GetImageFromPointer 方法 從模組中的位址傳回模組基底位址和大小。
GetImageLocation 方法 從模組的基底位址傳回模組的路徑。
GetSymbolProviderForImage 方法 從模組的基底位址傳回模組的符號提供者。

備註

注意

這個介面僅適用於 .NET 原生。 如果您在 .NET 原生之外針對 ICorDebug 案例實作這個介面,Common Language Runtime 會忽略這個介面。

規格需求

平台:請參閱系統需求

標頭:CorDebug.idl、CorDebug.h

程式庫:CorGuids.lib

.NET Framework版本:自 4.6 起提供,.NET Native

另請參閱