Share via


IBuildService.GetBuildProjectIncrementalActionAsync Method

Definition

Get a build project action

public System.Threading.Tasks.Task<Microsoft.VisualStudio.Workspace.IFileContextActionBase> GetBuildProjectIncrementalActionAsync (string projectFile, string projectFileTarget, Microsoft.VisualStudio.Workspace.Build.IBuildConfigurationContext buildConfigurationContext, System.Threading.CancellationToken cancellationToken = default);
public System.Threading.Tasks.Task<Microsoft.VisualStudio.Workspace.IFileContextActionBase> GetBuildProjectIncrementalActionAsync (string projectFile, string? projectFileTarget, Microsoft.VisualStudio.Workspace.Build.IBuildConfigurationContext buildConfigurationContext, System.Threading.CancellationToken cancellationToken = default);
abstract member GetBuildProjectIncrementalActionAsync : string * string * Microsoft.VisualStudio.Workspace.Build.IBuildConfigurationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Workspace.IFileContextActionBase>
Public Function GetBuildProjectIncrementalActionAsync (projectFile As String, projectFileTarget As String, buildConfigurationContext As IBuildConfigurationContext, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IFileContextActionBase)

Parameters

projectFile
String

The project file context

projectFileTarget
String

Optional project target

buildConfigurationContext
IBuildConfigurationContext

Build configuration context

cancellationToken
CancellationToken

Optional cancellation token

Returns

The build incremental action or null if no provider support

Applies to