共用方式為


IVsDebugger3.LaunchDebugTargets3 Method

Definition

Launches or attaches to the specified processes under the control of the debugger, and returns the processes' process IDs and creation times.

public:
 int LaunchDebugTargets3(System::UInt32 DebugTargetCount, cli::array <Microsoft::VisualStudio::Shell::Interop::VsDebugTargetInfo3> ^ pDebugTargets, cli::array <Microsoft::VisualStudio::Shell::Interop::VsDebugTargetProcessInfo> ^ pLaunchResults);
int LaunchDebugTargets3(unsigned int DebugTargetCount, std::Array <Microsoft::VisualStudio::Shell::Interop::VsDebugTargetInfo3> const & pDebugTargets, std::Array <Microsoft::VisualStudio::Shell::Interop::VsDebugTargetProcessInfo> const & pLaunchResults);
public int LaunchDebugTargets3 (uint DebugTargetCount, Microsoft.VisualStudio.Shell.Interop.VsDebugTargetInfo3[] pDebugTargets, Microsoft.VisualStudio.Shell.Interop.VsDebugTargetProcessInfo[] pLaunchResults);
abstract member LaunchDebugTargets3 : uint32 * Microsoft.VisualStudio.Shell.Interop.VsDebugTargetInfo3[] * Microsoft.VisualStudio.Shell.Interop.VsDebugTargetProcessInfo[] -> int
Public Function LaunchDebugTargets3 (DebugTargetCount As UInteger, pDebugTargets As VsDebugTargetInfo3(), pLaunchResults As VsDebugTargetProcessInfo()) As Integer

Parameters

DebugTargetCount
UInt32

[in] The number of targets to launch (the number of VsDebugTargetInfo2 structures pointed to by pDebugTargets).

pDebugTargets
VsDebugTargetInfo3[]

[in, out] An array of VsDebugTargetInfo2 structures describing the programs to launch or attach to.

pLaunchResults
VsDebugTargetProcessInfo[]

[out] An array of VsDebugTargetProcessInfo structures containing the process ID and creation times of the processes.

Returns

Applies to