IDkmBaseNativeExecutionController.RaiseExecutionControlException(DkmThread, UInt32) Methode

Definition

API, die von einer idkmsinglestepcompletereceived-oder idkmruntimebreakpointempfang-Implementierung aufgerufen werden kann, um zu erzwingen, dass die Basis-DM die EXCEPTION_BREAKPOINT oder EXCEPTION_SINGLE_STEP Ausnahme im Ziel Prozess auslöst, wenn die Ausführung fortgesetzt wird. Normalerweise wird die Ausnahme für den Haltepunkt oder den einzelnen Schritt implizit unterdrückt. Dadurch kann der EXCEPTION_BREAKPOINT/EXCEPTION_SINGLE_STEP von Ausnahme Handlern innerhalb des Ziel Prozesses behandelt werden. Diese API schlägt fehl, wenn sich der Thread derzeit nicht in einem Schritt-oder Haltepunkt Ereignis befindet.

public:
 void RaiseExecutionControlException(Microsoft::VisualStudio::Debugger::DkmThread ^ thread, System::UInt32 exceptionCode);
public void RaiseExecutionControlException (Microsoft.VisualStudio.Debugger.DkmThread thread, uint exceptionCode);
abstract member RaiseExecutionControlException : Microsoft.VisualStudio.Debugger.DkmThread * uint32 -> unit
Public Sub RaiseExecutionControlException (thread As DkmThread, exceptionCode As UInteger)

Parameter

thread
DkmThread

In Dkmthread stellt einen Thread dar, der im Ziel Prozess ausgeführt wird.

exceptionCode
UInt32

In Win32-Ausnahme Code, der ausgelöst werden soll. Zurzeit muss dies EXCEPTION_BREAKPOINT oder EXCEPTION_SINGLE_STEP sein.

Gilt für