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: BooleanSet 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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Other Resources
How to: Compile and Run the Automation Object Model Code Examples