Compartilhar via


IVsDebugger4.LaunchDebugTargets4 Method

Definition

Launches the specified debug targets.

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

Parameters

DebugTargetCount
UInt32

[in] Number of debug targets.

pDebugTargets
VsDebugTargetInfo4[]

[in, size_is(DebugTargetCount)] List of debug targets.

pLaunchResults
VsDebugTargetProcessInfo[]

[out, size_is(DebugTargetCount)] List of process identifiers (PIDs) and creation times for the debug targets. PIDs are only returned when DLO_CreateProcess/DLO_Custom and DLO_LaunchBrowser are specified when a new browser process is started (non-attach case).

Remarks

This method extends LaunchDebugTargets3 by adding support for launching Windows Store apps, Windows Phone apps, and for newly-launched processes that are sitting at the initial suspension point. The functionality in the previous versions of the API is still present (for example, desktop applications can still be launched).

Applies to