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 | |
---|---|---|
Collection | Gets a Processes collection that contains the object that supports this property or is contained within this code construct. (Inherited from Process3.) | |
Collection | Gets a Processes collection that contains the object that supports this property or is contained within this code construct. | |
CommandLine | Gets the command line that started the program being debugged in Visual Studio. This is a read-only property. | |
CurrentDirectory | Gets the current directory of the process being debugged. This is a read-only property. | |
DTE | Gets the top-level extensibility object, the DTE object. (Inherited from Process3.) | |
DTE | Gets the top-level extensibility object, the DTE object. | |
EnvironmentVariables | This read-only property returns an array that contains the environment variables defined for the process being debugged. | |
IsBeingDebugged | Gets whether the current process is being debugged. (Inherited from Process3.) | |
IsBeingDebugged | Gets whether the current process is being debugged. | |
Modules | Gets a collection of module objects associated with this process. (Inherited from Process3.) | |
Modules | Gets a collection of module objects associated with this process. | |
Name | Gets the name of the process. (Inherited from Process3.) | |
Name | Gets the name of the process. | |
Parent | Gets the immediate parent object of a Process2 object. (Inherited from Process3.) | |
Parent | Gets the immediate parent object of a Process2 object. | |
ProcessID | Gets the ID number assigned to this process. (Inherited from Process3.) | |
ProcessID | Gets the ID number assigned to this process. | |
Programs | Gets a collection of Program objects. (Inherited from Process3.) | |
Programs | Gets a collection of Program objects. | |
Threads | Gets the threads associated with this process. (Inherited from Process3.) | |
Threads | Gets the threads associated with this process. | |
Transport | Gets the Transport being used to debug this process. (Inherited from Process3.) | |
Transport | Gets the Transport being used to debug this process. | |
TransportQualifier | Gets a computer name or an IP address. (Inherited from Process3.) | |
TransportQualifier | Gets a computer name or an IP address. | |
UserName | Gets the user name associated with this process. (Inherited from Process3.) | |
UserName | Gets the user name associated with this process. |
Top
Methods
Name | Description | |
---|---|---|
Attach() | Causes the debugger to attach this process. (Inherited from Process3.) | |
Attach() | Causes the debugger to attach this process. | |
Attach2(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.) | |
Attach2(Object) | Similar to Attach(), causes the debugger to attach this process, only it allows you to specify an engine or set of engines. | |
Break(Boolean) | Causes the given process to pause its execution so that its current state can be analyzed. (Inherited from Process3.) | |
Break(Boolean) | Causes the given process to pause its execution so that its current state can be analyzed. | |
Detach(Boolean) | Causes the debugger to detach from this process. (Inherited from Process3.) | |
Detach(Boolean) | Causes the debugger to detach from this process. | |
Terminate(Boolean) | Terminates this process. (Inherited from Process3.) | |
Terminate(Boolean) | Terminates this process. |
Top
Remarks
See Process3.