Delen via


IProjectActionSettingsProvider.SupportsContextAsync Method

Definition

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.

Applies to