IDkmClrDecompiler173.Decompile(DkmModuleInstance, String, Int32) 方法

定義

將模組的程式代碼分解成 C#,並使用此內嵌來源建立新的可攜式 PDB。 共用此符號檔的所有模組都會開始使用這些更新的符號。 實作應該在失敗時傳回S_OK,並透過 『HR』 和 『ErrorMessage』 參數傳回實際的 HRESULT 和任何其他錯誤資訊。

public void Decompile(Microsoft.VisualStudio.Debugger.DkmModuleInstance moduleInstance, out string? errorMessage, out int hR);
abstract member Decompile : Microsoft.VisualStudio.Debugger.DkmModuleInstance * string * int -> unit
Public Sub Decompile (moduleInstance As DkmModuleInstance, ByRef errorMessage As String, ByRef hR As Integer)

參數

moduleInstance
DkmModuleInstance

[In]Module Instance 類別代表程式代碼組合 (例如:dll 或 exe) ,它會載入特定位置的特定進程。 模組實例物件是具有程式代碼組合的執行環境概念的 1:1。 例如,在機器碼中,模組實例物件是具有基位址的 1:1。

errorMessage
String

[Out,Optional]如果有的話,在反編譯期間發生的錯誤詳細數據。

hR
Int32

[Out]要返回呼叫端的 HResult。

適用於