IBuildFileContext.ExecuteBuildAsync 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.
Execute a build action
public:
System::Threading::Tasks::Task<bool> ^ ExecuteBuildAsync(Microsoft::VisualStudio::Workspace::Build::IBuildActionProgress ^ progress, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<bool> ExecuteBuildAsync (Microsoft.VisualStudio.Workspace.Build.IBuildActionProgress progress, System.Threading.CancellationToken cancellationToken);
abstract member ExecuteBuildAsync : Microsoft.VisualStudio.Workspace.Build.IBuildActionProgress * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Function ExecuteBuildAsync (progress As IBuildActionProgress, cancellationToken As CancellationToken) As Task(Of Boolean)
Parameters
- progress
- IBuildActionProgress
A means to report progress as the build executes.
- cancellationToken
- CancellationToken
A token that may cancel the build.
Returns
Completion task with build succeed result.