Share via


Process2.Terminate(Boolean) Method

Definition

Terminates this process.

void Terminate(bool WaitForBreakOrEnd = true);
[System.Runtime.InteropServices.DispId(4)]
public void Terminate (bool WaitForBreakOrEnd = true);
[<System.Runtime.InteropServices.DispId(4)>]
abstract member Terminate : bool -> unit
Public Sub Terminate (Optional WaitForBreakOrEnd As Boolean = true)

Parameters

WaitForBreakOrEnd
Boolean

Set to true if the debugging session should stop only when it reaches a break or the end. Set to false if you intend to stop debugging, but you need to perform other tasks in the macro before the debugger breaks or ends. See Breaking Execution for more information.

Implements

Attributes

Applies to