Compartilhar via


VsDebugTargetInfo Structure

Contains information about a debug target.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
Public Structure VsDebugTargetInfo
public struct VsDebugTargetInfo
public value class VsDebugTargetInfo
[<Sealed>]
type VsDebugTargetInfo =  struct end
JScript supports the use of structures, but not the declaration of new ones.

The VsDebugTargetInfo type exposes the following members.

Methods

  Name Description
Public method Equals Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Public method GetHashCode Returns the hash code for this instance. (Inherited from ValueType.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns the fully qualified type name of this instance. (Inherited from ValueType.)

Top

Fields

  Name Description
Public field bstrArg BSTR containing command-line arguments to the executable.
Public field bstrCurDir BSTR containing the name of the current directory.
Public field bstrEnv BSTR containing the environment settings to pass to CreateProcess.
Public field bstrExe BSTR containing the name of the executable.
Public field bstrMdmRegisteredName BSTR containing the name of the application as it is registered with the MDM.
Public field bstrOptions BSTR containing custom options specific to each clsidCustom (nulla null reference (Nothing in Visual Basic) is recommended).
Public field bstrPortName BSTR containing the name of port from the supplier specified in clsidPortSupplier (can be nulla null reference (Nothing in Visual Basic)).
Public field bstrRemoteMachine BSTR containing the remote machine name. Set to nulla null reference (Nothing in Visual Basic) for local machines.
Public field cbSize DWORD specifying the size of the VsDebugTargetInfo struct.
Public field clsidCustom Specifies that the exe will be launched by some custom means.
Public field clsidPortSupplier Specifies the Port supplier GUID.
Public field dlo Specifies how this process should be launched or attached. Values are taken from the DEBUG_LAUNCH_OPERATION enumeration.
Public field dwClsidCount Number of GUIDs in the pClsidList member.
Public field fSendStdoutToOutputWindow Specifies that stdout and stderr should be routed to the debug-output window.
Public field grfLaunch Specifies launch flags. Values are taken from the __VSDBGLAUNCHFLAGS enumeration. Used in DebugLaunch calls.
Public field hStdError HANDLE to StdError.
Public field hStdInput HANDLE to StdInput.
Public field hStdOutput HANDLE to StdOut.
Public field pClsidList Holds an array of GUIDs for multiple engine launch.

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.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace