Delen via


ILaunchDebugService4.GetLaunchDebugTargetProviders Method

Definition

Return a debug target provider for a given pair of ProjectConfiguration and file path. This can be used in scenarios where, for example, a particular launch configuration might be used for a given project output.

public bool GetLaunchDebugTargetProviders (Microsoft.VisualStudio.Workspace.ProjectConfiguration? projectConfiguration, string filePath, out Microsoft.VisualStudio.Workspace.Debug.ILaunchDebugTargetProvider? provider);
abstract member GetLaunchDebugTargetProviders : Microsoft.VisualStudio.Workspace.ProjectConfiguration * string * ILaunchDebugTargetProvider -> bool
Public Function GetLaunchDebugTargetProviders (projectConfiguration As ProjectConfiguration, filePath As String, ByRef provider As ILaunchDebugTargetProvider) As Boolean

Parameters

projectConfiguration
ProjectConfiguration

(Optional) The project configuration.

filePath
String

The file path of the target.

provider
ILaunchDebugTargetProvider

A provider that is capable of launching the target being passed.

Returns

True if a provider is found. Otherwise false.

Applies to