다음을 통해 공유


UpdateExtensions.CleanAsync Method

Definition

Overloads

CleanAsync(IProjectSnapshot, CancellationToken)

Cleans the project in the solution.

CleanAsync(IAsyncQueryable<ISolutionSnapshot>, CancellationToken)

Cleans the solution in the project.

CleanAsync(IProjectSnapshot, CancellationToken)

Cleans the project in the solution.

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

Parameters

project
IProjectSnapshot

The project to clean.

cancellationToken
CancellationToken

A cancellation token to abort the operation.

Returns

A task which is completed when the operation is completed.

Applies to

CleanAsync(IAsyncQueryable<ISolutionSnapshot>, CancellationToken)

Cleans the solution in the project.

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