Share via


UpdateExtensions.RebuildAsync Method

Definition

Overloads

RebuildAsync(IProjectSnapshot, CancellationToken)

Rebuilds the project in the solution.

RebuildAsync(IAsyncQueryable<ISolutionSnapshot>, CancellationToken)

Rebuild the solution in the project.

RebuildAsync(IProjectSnapshot, CancellationToken)

Rebuilds the project in the solution.

public static System.Threading.Tasks.Task<Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot>> RebuildAsync (this Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot project, System.Threading.CancellationToken cancellationToken);
static member RebuildAsync : 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 RebuildAsync (project As IProjectSnapshot, cancellationToken As CancellationToken) As Task(Of IQueryResults(Of IProjectSnapshot))

Parameters

project
IProjectSnapshot

The project to rebuild.

cancellationToken
CancellationToken

A cancellation token to abort the operation.

Returns

A task which is completed when the operation is completed.

Applies to

RebuildAsync(IAsyncQueryable<ISolutionSnapshot>, CancellationToken)

Rebuild the solution in the project.

public static System.Threading.Tasks.Task<Microsoft.VisualStudio.ProjectSystem.Query.IQueryResults<Microsoft.VisualStudio.ProjectSystem.Query.ISolutionSnapshot>> RebuildAsync (this Microsoft.VisualStudio.ProjectSystem.Query.IAsyncQueryable<Microsoft.VisualStudio.ProjectSystem.Query.ISolutionSnapshot> solutions, System.Threading.CancellationToken cancellationToken);
static member RebuildAsync : 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 RebuildAsync (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