Delen via


ILaunchDebugTargetProvider4.SupportsContext Method

Definition

Indicates whether this provider supports 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 SupportsContext (Microsoft.VisualStudio.Workspace.IWorkspace workspace, Microsoft.VisualStudio.Workspace.ProjectConfiguration? projectConfiguration, string targetFilePath);
abstract member SupportsContext : Microsoft.VisualStudio.Workspace.IWorkspace * Microsoft.VisualStudio.Workspace.ProjectConfiguration * string -> bool
Public Function SupportsContext (workspace As IWorkspace, projectConfiguration As ProjectConfiguration, targetFilePath As String) As Boolean

Parameters

workspace
IWorkspace

The workspace.

projectConfiguration
ProjectConfiguration

The project configuration.

targetFilePath
String

The target file.

Returns

True if this provider is able to handle this target. Otherwise false.

Applies to