IDkmClrDecompiler175.DecompileDocument 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将文档的代码反编译为 C#,并使用必要的调试信息和嵌入源更新与包含模块关联的符号文件。 共享此符号文件的所有模块都将开始使用这些更新的符号。 实现应在失败时返回S_OK,并通过“HR”和“ErrorMessage”参数返回实际的 HRESULT 和任何其他错误信息。
public void DecompileDocument(Microsoft.VisualStudio.Debugger.Clr.DkmClrModuleInstance clrModuleInstance, string documentPath, out string? errorMessage, out int hR);
abstract member DecompileDocument : Microsoft.VisualStudio.Debugger.Clr.DkmClrModuleInstance * string * string * int -> unit
Public Sub DecompileDocument (clrModuleInstance As DkmClrModuleInstance, documentPath As String, ByRef errorMessage As String, ByRef hR As Integer)
参数
- clrModuleInstance
- DkmClrModuleInstance
[In]“DkmClrModuleInstance”用于加载到公共语言运行时的模块。
- documentPath
- String
[In]应反编译的文档的特定于模块的路径。
- errorMessage
- String
[Out,可选]反编译期间发生的错误的详细信息(如果可用)。
- hR
- Int32
[Out]HResult 返回到调用方。