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)

[GuidAttribute("49DB35DD-FDD9-43BA-BD3F-2BAF50F5C45E")]
public interface Process4 : Process3

The Process4 type exposes the following members.

  NameDescription
Public propertyCollectionGets a Processes collection that contains the object that supports this property or is contained within this code construct. (Inherited from Process3.)
Public propertyCollectionGets a Processes collection that contains the object that supports this property or is contained within this code construct.
Public propertyCommandLineGets the command line that started the program being debugged in Visual Studio. This is a read-only property.
Public propertyCurrentDirectoryGets the current directory of the process being debugged. This is a read-only property.
Public propertyDTEGets the top-level extensibility object, the DTE object. (Inherited from Process3.)
Public propertyDTEGets the top-level extensibility object, the DTE object.
Public propertyEnvironmentVariablesThis read-only property returns an array that contains the environment variables defined for the process being debugged.
Public propertyIsBeingDebuggedGets whether the current process is being debugged. (Inherited from Process3.)
Public propertyIsBeingDebuggedGets whether the current process is being debugged.
Public propertyModulesGets a collection of module objects associated with this process. (Inherited from Process3.)
Public propertyModulesGets a collection of module objects associated with this process.
Public propertyNameGets the name of the process. (Inherited from Process3.)
Public propertyNameGets the name of the process.
Public propertyParentGets the immediate parent object of a Process2 object. (Inherited from Process3.)
Public propertyParentGets the immediate parent object of a Process2 object.
Public propertyProcessIDGets the ID number assigned to this process. (Inherited from Process3.)
Public propertyProcessIDGets the ID number assigned to this process.
Public propertyProgramsGets a collection of Program objects. (Inherited from Process3.)
Public propertyProgramsGets a collection of Program objects.
Public propertyThreadsGets the threads associated with this process. (Inherited from Process3.)
Public propertyThreadsGets the threads associated with this process.
Public propertyTransportGets the Transport being used to debug this process. (Inherited from Process3.)
Public propertyTransportGets the Transport being used to debug this process.
Public propertyTransportQualifierGets a computer name or an IP address. (Inherited from Process3.)
Public propertyTransportQualifierGets a computer name or an IP address.
Public propertyUserNameGets the user name associated with this process. (Inherited from Process3.)
Public propertyUserNameGets the user name associated with this process.
Top

  NameDescription
Public methodAttach()Causes the debugger to attach this process. (Inherited from Process3.)
Public methodAttach()Causes the debugger to attach this process.
Public methodAttach2(Object)Similar to Attach, causes the debugger to attach this process, except that it allows you to specify an engine or set of engines. (Inherited from Process3.)
Public methodAttach2(Object)Similar to Attach(), causes the debugger to attach this process, only it allows you to specify an engine or set of engines.
Public methodBreak(Boolean)Causes the given process to pause its execution so that its current state can be analyzed. (Inherited from Process3.)
Public methodBreak(Boolean)Causes the given process to pause its execution so that its current state can be analyzed.
Public methodDetach(Boolean)Causes the debugger to detach from this process. (Inherited from Process3.)
Public methodDetach(Boolean)Causes the debugger to detach from this process.
Public methodTerminate(Boolean)Terminates this process. (Inherited from Process3.)
Public methodTerminate(Boolean)Terminates this process.
Top

Community Additions

ADD
Show: