다음을 통해 공유


IBuildService2.BuildAsync 메서드

정의

공급자에서 빌드 컨텍스트 작업을 호출하여 프로젝트를 증분 방식으로 빌드

public:
 System::Threading::Tasks::Task<Microsoft::VisualStudio::Workspace::Build::BuildProjectIncrementalResult ^> ^ BuildAsync(Microsoft::VisualStudio::Workspace::Build::BuildRequest ^ buildRequest, IProgress<Microsoft::VisualStudio::Workspace::IFileContextActionProgressUpdate ^> ^ progress, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<Microsoft.VisualStudio.Workspace.Build.BuildProjectIncrementalResult> BuildAsync (Microsoft.VisualStudio.Workspace.Build.BuildRequest buildRequest, IProgress<Microsoft.VisualStudio.Workspace.IFileContextActionProgressUpdate> progress, System.Threading.CancellationToken cancellationToken);
abstract member BuildAsync : Microsoft.VisualStudio.Workspace.Build.BuildRequest * IProgress<Microsoft.VisualStudio.Workspace.IFileContextActionProgressUpdate> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Workspace.Build.BuildProjectIncrementalResult>
Public Function BuildAsync (buildRequest As BuildRequest, progress As IProgress(Of IFileContextActionProgressUpdate), cancellationToken As CancellationToken) As Task(Of BuildProjectIncrementalResult)

매개 변수

buildRequest
BuildRequest

빌드 요청 엔터티

progress
IProgress<IFileContextActionProgressUpdate>

진행률 모니터

cancellationToken
CancellationToken

선택적 취소 토큰

반환

증분 빌드에 대한 정보

적용 대상