DkmManagedEncUpdates.Apply Method

Definition

Overloads

Apply()

Apply the managed updates to all the modules across different processes which are currently being debugged. If an update was created from a module that was not loaded yet, the engine will track it and update when the module is actually loaded. Otherwise, the updates are applied immediately. The changes will persist until the end of the debugging session.

Location constraint: API must be called from an IDE component (component level > 100,000).

This API was introduced in Visual Studio 16 Update 3 (DkmApiVersion.VS16Update3).

Apply(DkmWorkList, DkmCompletionRoutine<DkmApplyManagedEncUpdatesAsyncResult>)

Apply the managed updates to all the modules across different processes which are currently being debugged. If an update was created from a module that was not loaded yet, the engine will track it and update when the module is actually loaded. Otherwise, the updates are applied immediately. The changes will persist until the end of the debugging session.

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: API must be called from an IDE component (component level > 100,000).

This API was introduced in Visual Studio 16 Update 3 (DkmApiVersion.VS16Update3).

Apply()

Apply the managed updates to all the modules across different processes which are currently being debugged. If an update was created from a module that was not loaded yet, the engine will track it and update when the module is actually loaded. Otherwise, the updates are applied immediately. The changes will persist until the end of the debugging session.

Location constraint: API must be called from an IDE component (component level > 100,000).

This API was introduced in Visual Studio 16 Update 3 (DkmApiVersion.VS16Update3).

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

Applies to

Apply(DkmWorkList, DkmCompletionRoutine<DkmApplyManagedEncUpdatesAsyncResult>)

Apply the managed updates to all the modules across different processes which are currently being debugged. If an update was created from a module that was not loaded yet, the engine will track it and update when the module is actually loaded. Otherwise, the updates are applied immediately. The changes will persist until the end of the debugging session.

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: API must be called from an IDE component (component level > 100,000).

This API was introduced in Visual Studio 16 Update 3 (DkmApiVersion.VS16Update3).

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

Parameters

WorkList
DkmWorkList

WorkList to append the new work item to.

CompletionRoutine
DkmCompletionRoutine<DkmApplyManagedEncUpdatesAsyncResult>

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