Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Provides information about a debug target.
Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Public Structure VsDebugTargetInfo2
public struct VsDebugTargetInfo2
public value class VsDebugTargetInfo2
[<Sealed>]
type VsDebugTargetInfo2 =  struct end
JScript supports the use of structures, but not the declaration of new ones.
The VsDebugTargetInfo2 type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| .gif) | Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) | 
| .gif) | GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) | 
Top
Fields
| Name | Description | |
|---|---|---|
| .gif) | bstrArg | BSTR containing the command line arguments to the exe (DLO_CreateProcess). | 
| .gif) | bstrCurDir | BSTR containing the current directory (DLO_CreateProcess). | 
| .gif) | bstrEnv | BSTR containing the environment settings (DLO_CreateProcess). | 
| .gif) | bstrExe | BSTR containing the name of the executable. | 
| .gif) | bstrOptions | BSTR containing custom options specific to each debugger (nulla null reference (Nothing in Visual Basic) is recommended). | 
| .gif) | bstrPortName | BSTR containing the name of the port from the supplier specified in guidPortSupplier. (Can be nulla null reference (Nothing in Visual Basic)). | 
| .gif) | bstrRemoteMachine | BSTR containing the machine name for a remote machine. Use nulla null reference (Nothing in Visual Basic) for the local machine. | 
| .gif) | cbSize | Specifies the size of the VsDebugTargetInfo2 struct. | 
| .gif) | dlo | Specifies how this process should be launched or attached. | 
| .gif) | dwDebugEngineCount | Specifies the number of debug engine GUIDs in the guidLaunchDebugEngine array. | 
| .gif) | dwProcessId | Specifies the process id (DLO_AlreadyRunning). | 
| .gif) | dwReserved | Reserved for future use - specify nulla null reference (Nothing in Visual Basic). | 
| .gif) | fSendToOutputWindow | BOOL - if true, stdout and stderr are to be routed to the output window. | 
| .gif) | guidLaunchDebugEngine | Specifies the guid of the debug engine used for launch (DLO_CreateProcess) | 
| .gif) | guidPortSupplier | Specifies the GUID of the port supplier. | 
| .gif) | guidProcessLanguage | Specifies the language of the hosting process. Used to preload expression evaluators. | 
| .gif) | hStdError | The stderr handle. | 
| .gif) | hStdInput | The stdin handle. | 
| .gif) | hStdOutput | The stdout handle. | 
| .gif) | LaunchFlags | Specifies the launch flags that were passed to DebugLaunch. | 
| .gif) | pDebugEngines | Specifies an array of debug engine guids, or nulla null reference (Nothing in Visual Basic) if dwDebugEngineCount is zero. | 
| .gif) | pUnknown | Specifies an interface pointer - usage depends on DEBUG_LAUNCH_OPERATION. | 
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.