Process4 Interface

The Process4 object is used to examine and manipulate processes. The Process4 object supersedes the Process3, Process2, and Process objects. To use Debugger4, you must add a reference to EnvDTE90a.dll. For native development, you must add a reference to dte90a.tlb.

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

Syntax

'Declaration
<GuidAttribute("49DB35DD-FDD9-43BA-BD3F-2BAF50F5C45E")> _
Public Interface Process4 _
    Inherits Process3
[GuidAttribute("49DB35DD-FDD9-43BA-BD3F-2BAF50F5C45E")]
public interface Process4 : Process3
[GuidAttribute(L"49DB35DD-FDD9-43BA-BD3F-2BAF50F5C45E")]
public interface class Process4 : Process3
[<GuidAttribute("49DB35DD-FDD9-43BA-BD3F-2BAF50F5C45E")>]
type Process4 =  
    interface 
        interface Process3 
    end
public interface Process4 extends Process3

The Process4 type exposes the following members.

Properties

  Name Description
Public property Collection Gets a Processes collection that contains the object that supports this property or is contained within this code construct.
Public property CommandLine Gets the command line that started the program being debugged in Visual Studio. This is a read-only property.
Public property CurrentDirectory Gets the current directory of the process being debugged. This is a read-only property.
Public property DTE Gets the top-level extensibility object, the DTE object.
Public property EnvironmentVariables This read-only property returns an array that contains the environment variables defined for the process being debugged.
Public property IsBeingDebugged Gets whether the current process is being debugged.
Public property Modules Gets a collection of module objects associated with this process.
Public property Name Gets the name of the process.
Public property Parent Gets the immediate parent object of a Process2 object.
Public property ProcessID Gets the ID number assigned to this process.
Public property Programs Gets a collection of Program objects.
Public property Threads Gets the threads associated with this process.
Public property Transport Gets the Transport being used to debug this process.
Public property TransportQualifier Gets a computer name or an IP address.
Public property UserName Gets the user name associated with this process.

Top

Methods

  Name Description
Public method Attach Causes the debugger to attach this process.
Public method Attach2 Similar to Attach, causes the debugger to attach this process, only it allows you to specify an engine or set of engines.
Public method Break Causes the given process to pause its execution so that its current state can be analyzed.
Public method Detach Causes the debugger to detach from this process.
Public method Terminate Terminates this process.

Top

Remarks

See Process3.

See Also

Reference

EnvDTE90a Namespace