다음을 통해 공유


UpdateExtensions.BuildAsync Method

Definition

Overloads

BuildAsync(IAsyncQueryable<ISolutionSnapshot>, CancellationToken)

Builds the solution in the project.

BuildAsync(IProjectSnapshot, CancellationToken)

Builds the project in the solution.

BuildAsync(IAsyncQueryable<ISolutionSnapshot>, CancellationToken)

Builds the solution in the project.

public static System.Threading.Tasks.Task<Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.ISolutionSnapshot>> BuildAsync (this Microsoft.VisualStudio.ProjectSystem.Query.IAsyncQueryable<Microsoft.VisualStudio.ProjectSystem.Query.ISolutionSnapshot> solutions, System.Threading.CancellationToken cancellationToken);
static member BuildAsync : Microsoft.VisualStudio.ProjectSystem.Query.IAsyncQueryable<Microsoft.VisualStudio.ProjectSystem.Query.ISolutionSnapshot> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.ISolutionSnapshot>>
<Extension()>
Public Function BuildAsync (solutions As IAsyncQueryable(Of ISolutionSnapshot), cancellationToken As CancellationToken) As Task(Of IQueryResults(Of ISolutionSnapshot))

Parameters

solutions
IAsyncQueryable<ISolutionSnapshot>

A collection of solutions.

cancellationToken
CancellationToken

A cancellation token to abort the operation.

Returns

A task which is completed when the operation is completed.

Applies to

BuildAsync(IProjectSnapshot, CancellationToken)

Builds the project in the solution.

public static System.Threading.Tasks.Task<Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot>> BuildAsync (this Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot project, System.Threading.CancellationToken cancellationToken);
static member BuildAsync : Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot>>
<Extension()>
Public Function BuildAsync (project As IProjectSnapshot, cancellationToken As CancellationToken) As Task(Of IQueryResults(Of IProjectSnapshot))

Parameters

project
IProjectSnapshot

The project to build.

cancellationToken
CancellationToken

A cancellation token to abort the operation.

Returns

A task which is completed when the operation is completed.

Applies to