IProjectConfigurationService3.CreateBuildProjectIncrementalActionAsync 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 an incremental build action based on an existing build action context.
public System.Threading.Tasks.Task<Microsoft.VisualStudio.Workspace.IFileContextAction> CreateBuildProjectIncrementalActionAsync (Microsoft.VisualStudio.Workspace.ProjectTargetFileContext projectFileContext, Microsoft.VisualStudio.Workspace.Build.IBuildConfigurationContext buildConfigurationContext, Microsoft.VisualStudio.Workspace.IFileContextAction defaultBuildContextAction, Microsoft.VisualStudio.Workspace.Build.BuildType buildType, System.Threading.CancellationToken cancellationToken);
abstract member CreateBuildProjectIncrementalActionAsync : Microsoft.VisualStudio.Workspace.ProjectTargetFileContext * Microsoft.VisualStudio.Workspace.Build.IBuildConfigurationContext * Microsoft.VisualStudio.Workspace.IFileContextAction * Microsoft.VisualStudio.Workspace.Build.BuildType * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Workspace.IFileContextAction>
Public Function CreateBuildProjectIncrementalActionAsync (projectFileContext As ProjectTargetFileContext, buildConfigurationContext As IBuildConfigurationContext, defaultBuildContextAction As IFileContextAction, buildType As BuildType, cancellationToken As CancellationToken) As Task(Of IFileContextAction)
Parameters
- projectFileContext
- ProjectTargetFileContext
The target project file context.
- buildConfigurationContext
- IBuildConfigurationContext
The build configuration context.
- defaultBuildContextAction
- IFileContextAction
The default build context action.
- buildType
- BuildType
The build type (e.g. build, rebuild, clean).
- cancellationToken
- CancellationToken
A token for cancelling.
Returns
A Task representing the asynchronous create action.