共用方式為


Process2.Detach(Boolean) Method

Definition

Causes the debugger to detach from this process.

void Detach(bool WaitForBreakOrEnd = true);
[System.Runtime.InteropServices.DispId(2)]
public void Detach (bool WaitForBreakOrEnd = true);
[<System.Runtime.InteropServices.DispId(2)>]
abstract member Detach : bool -> unit
Public Sub Detach (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