DkmModuleInstance.Decompile Method

Definition

Overloads

Decompile()

Decompiles the code for a module into C# and creates a new portable PDB with this source embedded. All modules that share this symbol file will begin using these updated symbols.

Location constraint: This method can be called from an IDE.

This API was introduced in Visual Studio 16 Update 5 (DkmApiVersion.VS16Update5).

Decompile(DkmWorkList, DkmCompletionRoutine<DkmDecompileAsyncResult>)

Decompiles the code for a module into C# and creates a new portable PDB with this source embedded. All modules that share this symbol file will begin using these updated symbols.

This method will append a new work item to the specified work list, and return once the work item has been appended. The actual processing of the work item is asynchronous. The caller will be notified that the request is complete through the completion routine.

Location constraint: This method can be called from an IDE.

This API was introduced in Visual Studio 16 Update 5 (DkmApiVersion.VS16Update5).

Decompile(DkmWorkList, DkmCompletionRoutine<DkmDecompileAsyncResult173>)
Decompile(String, Int32)

Decompile()

Decompiles the code for a module into C# and creates a new portable PDB with this source embedded. All modules that share this symbol file will begin using these updated symbols.

Location constraint: This method can be called from an IDE.

This API was introduced in Visual Studio 16 Update 5 (DkmApiVersion.VS16Update5).

public:
 void Decompile();
public void Decompile ();
member this.Decompile : unit -> unit
Public Sub Decompile ()

Applies to

Decompile(DkmWorkList, DkmCompletionRoutine<DkmDecompileAsyncResult>)

Decompiles the code for a module into C# and creates a new portable PDB with this source embedded. All modules that share this symbol file will begin using these updated symbols.

This method will append a new work item to the specified work list, and return once the work item has been appended. The actual processing of the work item is asynchronous. The caller will be notified that the request is complete through the completion routine.

Location constraint: This method can be called from an IDE.

This API was introduced in Visual Studio 16 Update 5 (DkmApiVersion.VS16Update5).

public:
 void Decompile(Microsoft::VisualStudio::Debugger::DkmWorkList ^ WorkList, Microsoft::VisualStudio::Debugger::DkmCompletionRoutine<Microsoft::VisualStudio::Debugger::Decompilation::DkmDecompileAsyncResult> ^ CompletionRoutine);
public void Decompile (Microsoft.VisualStudio.Debugger.DkmWorkList WorkList, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Decompilation.DkmDecompileAsyncResult> CompletionRoutine);
member this.Decompile : Microsoft.VisualStudio.Debugger.DkmWorkList * Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Decompilation.DkmDecompileAsyncResult> -> unit
Public Sub Decompile (WorkList As DkmWorkList, CompletionRoutine As DkmCompletionRoutine(Of DkmDecompileAsyncResult))

Parameters

WorkList
DkmWorkList

WorkList to append the new work item to.

CompletionRoutine
DkmCompletionRoutine<DkmDecompileAsyncResult>

Routine to fire when the request is complete. If the request is successfully appended to the work list, this will always fire (including when the operation is canceled). This will never fire if appending the work item fails.

Applies to

Decompile(DkmWorkList, DkmCompletionRoutine<DkmDecompileAsyncResult173>)

public void Decompile (Microsoft.VisualStudio.Debugger.DkmWorkList WorkList, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Decompilation.DkmDecompileAsyncResult173> CompletionRoutine);
member this.Decompile : Microsoft.VisualStudio.Debugger.DkmWorkList * Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Decompilation.DkmDecompileAsyncResult173> -> unit
Public Sub Decompile (WorkList As DkmWorkList, CompletionRoutine As DkmCompletionRoutine(Of DkmDecompileAsyncResult173))

Parameters

WorkList
DkmWorkList

Applies to

Decompile(String, Int32)

public void Decompile (out string ErrorMessage, out int HR);
member this.Decompile : string * int -> unit
Public Sub Decompile (ByRef ErrorMessage As String, ByRef HR As Integer)

Parameters

ErrorMessage
String
HR
Int32

Applies to