IProjectActionSettingsProvider.SupportsContextAsync 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.
Indicates whether this provider supports updating settings from the specified file path. given project output.
public System.Threading.Tasks.Task<bool> SupportsContextAsync (Microsoft.VisualStudio.Workspace.IWorkspace workspace, string filePath, System.Threading.CancellationToken cancellationToken);
abstract member SupportsContextAsync : Microsoft.VisualStudio.Workspace.IWorkspace * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Function SupportsContextAsync (workspace As IWorkspace, filePath As String, cancellationToken As CancellationToken) As Task(Of Boolean)
Parameters
- workspace
- IWorkspace
The workspace.
- filePath
- String
The file path associated with the Project action.
- cancellationToken
- CancellationToken
The task cancellation token.
Returns
True if this provider is able to update the settings associated with this file path. Otherwise false.