次の方法で共有


IVsProfilerLauncher.LaunchProfiler(IEnumVsProfilerTargetInfos) Method

Definition

Launches the profiler targets. If the project system has already done the launch, this method notifies the profiler about the targets that were launched.

public:
 int LaunchProfiler(Microsoft::VisualStudio::Shell::Interop::IEnumVsProfilerTargetInfos ^ targetsEnum);
public:
 int LaunchProfiler(Microsoft::VisualStudio::Shell::Interop::IEnumVsProfilerTargetInfos ^ targetsEnum);
int LaunchProfiler(Microsoft::VisualStudio::Shell::Interop::IEnumVsProfilerTargetInfos const & targetsEnum);
public int LaunchProfiler (Microsoft.VisualStudio.Shell.Interop.IEnumVsProfilerTargetInfos targetsEnum);
abstract member LaunchProfiler : Microsoft.VisualStudio.Shell.Interop.IEnumVsProfilerTargetInfos -> int
Public Function LaunchProfiler (targetsEnum As IEnumVsProfilerTargetInfos) As Integer

Parameters

targetsEnum
IEnumVsProfilerTargetInfos

[in] The list of profiler targets to be launched.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Applies to