Compartilhar via


Process2.Terminate Method

Terminates this process.

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

Syntax

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

Parameters

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

.NET Framework Security

See Also

Reference

Process2 Interface

EnvDTE80 Namespace

Other Resources

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