Partager via


IBuildFileContext.ExecuteBuildAsync Method

Definition

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.

Applies to