IDkmClrDecompiler175.DecompileMethods 方法

定義

將方法的程式代碼分解成 C#,並使用必要的偵錯資訊和內嵌來源,更新與包含模塊相關聯的符號檔。 共用此符號檔的所有模組都會開始使用這些更新的符號。 實作應該在失敗時傳回S_OK,並透過 『HR』 和 『ErrorMessage』 參數傳回實際的 HRESULT 和任何其他錯誤資訊。

public void DecompileMethods(Microsoft.VisualStudio.Debugger.Clr.DkmClrModuleInstance clrModuleInstance, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodId> methods, out string? errorMessage, out int hR);
abstract member DecompileMethods : Microsoft.VisualStudio.Debugger.Clr.DkmClrModuleInstance * System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodId> * string * int -> unit
Public Sub DecompileMethods (clrModuleInstance As DkmClrModuleInstance, methods As ReadOnlyCollection(Of DkmClrMethodId), ByRef errorMessage As String, ByRef hR As Integer)

參數

clrModuleInstance
DkmClrModuleInstance

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

methods
ReadOnlyCollection<DkmClrMethodId>

[In]應該反編譯的方法集合。

errorMessage
String

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

hR
Int32

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

適用於