Freigeben über


IDkmStopDebuggingOperations.Terminate(DkmProcess, Int32) Method

Definition

This method is called to tell the monitor to terminate the target process. This will trigger a ProcessExit event to be sent on the event thread.

public:
 void Terminate(Microsoft::VisualStudio::Debugger::DkmProcess ^ process, int exitCode);
public void Terminate (Microsoft.VisualStudio.Debugger.DkmProcess process, int exitCode);
abstract member Terminate : Microsoft.VisualStudio.Debugger.DkmProcess * int -> unit
Public Sub Terminate (process As DkmProcess, exitCode As Integer)

Parameters

process
DkmProcess

[In] DkmProcess represents a target process which is being debugged. The debugger debugs processes, so this is the basic unit of debugging. A DkmProcess can represent a system process or a virtual process such as minidumps.

exitCode
Int32

[In] The exit code to be used by the process and threads terminated as a result of this call. Use the GetExitCodeProcess function to retrieve a process's exit value. Use the GetExitCodeThread function to retrieve a thread's exit value.

Applies to