Udostępnij za pośrednictwem


Process4 Interface

Definition

The EnvDTE90s.Process4 object is used to examine and manipulate processes. The EnvDTE90.Process4 object supersedes the EnvDTE80.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.

public interface class Process4 : EnvDTE90::Process3
public interface class Process4 : EnvDTE90::Process3
__interface Process4 : EnvDTE90::Process3
[System.Runtime.InteropServices.Guid("49DB35DD-FDD9-43BA-BD3F-2BAF50F5C45E")]
[System.Runtime.InteropServices.TypeLibType(4160)]
public interface Process4 : EnvDTE90.Process3
[System.Runtime.InteropServices.Guid("49DB35DD-FDD9-43BA-BD3F-2BAF50F5C45E")]
public interface Process4 : EnvDTE90.Process3
[<System.Runtime.InteropServices.Guid("49DB35DD-FDD9-43BA-BD3F-2BAF50F5C45E")>]
[<System.Runtime.InteropServices.TypeLibType(4160)>]
type Process4 = interface
    interface Process3
[<System.Runtime.InteropServices.Guid("49DB35DD-FDD9-43BA-BD3F-2BAF50F5C45E")>]
type Process4 = interface
    interface Process3
    interface Process2
    interface Process
Public Interface Process4
Implements Process3
Attributes
Implements

Remarks

See Process3.

Properties

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.

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.

Modules

Gets a collection of module objects associated with this process.

Name

Gets the name of the process.

Parent

Gets the immediate parent object of a Process2 object.

ProcessID

Gets the ID number assigned to this process.

Programs

Gets a collection of Program objects.

Threads

Gets the threads associated with this process.

Transport

Gets the Transport being used to debug this process.

TransportQualifier

Gets a computer name or an IP address.

UserName

Gets the user name associated with this process.

Methods

Attach()

Causes the debugger to attach this process.

Attach2(Object)
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.

Terminate(Boolean)

Terminates this process.

Applies to