Process2.Detach(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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