Share via


Process2.Detach Method

Causes the debugger to detach from this process.

Namespace:  EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.dll)

Syntax

'Declaration
Sub Detach ( _
    WaitForBreakOrEnd As Boolean _
)
void Detach(
    bool WaitForBreakOrEnd
)
void Detach(
    [InAttribute] bool WaitForBreakOrEnd
)
abstract Detach : 
        WaitForBreakOrEnd:bool -> unit 
function Detach(
    WaitForBreakOrEnd : boolean
)

Parameters

  • WaitForBreakOrEnd
    Type: System.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

Process.Detach(Boolean)

.NET Framework Security

See Also

Reference

Process2 Interface

EnvDTE80 Namespace

Other Resources

How to: Compile and Run the Automation Object Model Code Examples