ILaunchDebugService4.GetLaunchDebugTargetProviders Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.