DkmRuntimeInstance.OnNewControllingRuntimeInstance Method

Definition

OnNewControllingRuntimeInstance is called by the stepping manager on all non-controlling runtime instances after step arbitration has selected a new controlling runtime instance.

Location constraint: API must be called from a Monitor component (component level < 100,000).

public:
 void OnNewControllingRuntimeInstance(Microsoft::VisualStudio::Debugger::Stepping::DkmStepper ^ Stepper, Microsoft::VisualStudio::Debugger::Stepping::DkmStepArbitrationReason Reason, Microsoft::VisualStudio::Debugger::DkmRuntimeInstance ^ ControllingRuntimeInstance);
public void OnNewControllingRuntimeInstance (Microsoft.VisualStudio.Debugger.Stepping.DkmStepper Stepper, Microsoft.VisualStudio.Debugger.Stepping.DkmStepArbitrationReason Reason, Microsoft.VisualStudio.Debugger.DkmRuntimeInstance ControllingRuntimeInstance);
member this.OnNewControllingRuntimeInstance : Microsoft.VisualStudio.Debugger.Stepping.DkmStepper * Microsoft.VisualStudio.Debugger.Stepping.DkmStepArbitrationReason * Microsoft.VisualStudio.Debugger.DkmRuntimeInstance -> unit
Public Sub OnNewControllingRuntimeInstance (Stepper As DkmStepper, Reason As DkmStepArbitrationReason, ControllingRuntimeInstance As DkmRuntimeInstance)

Parameters

Stepper
DkmStepper

[In] DkmStepper represents a request to step a thread. It facilitates shared object lifetime between the various runtime debug monitors that participate in stepping.

Reason
DkmStepArbitrationReason

[In] DkmStepArbitrationReason the reason step arbitration is occurring.

ControllingRuntimeInstance
DkmRuntimeInstance

[In] The DkmRuntimeInstance class represents an execution environment which is loaded into a DkmProcess and which contains code to be debugged.

Applies to