IDkmClrDecompiler177.Decompile 方法

定義

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

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

參數

clrModuleInstance
DkmClrModuleInstance

[In]'DkmClrModuleInstance' 用於載入 Common Language Runtime 的模組。

mode
DkmDecompilerMode

[In]指出模組應該立即或視需要進行反編譯。

errorMessage
String

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

hR
Int32

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

適用於