Udostępnij za pośrednictwem


UpdateExtensions.LaunchAsync Method

Definition

Overloads

LaunchAsync(IAsyncQueryable<ISolutionSnapshot>, CancellationToken)

Run the solution in the project.

LaunchAsync(IProjectSnapshot, CancellationToken)

Runs the project in the solution.

LaunchAsync(IAsyncQueryable<ISolutionSnapshot>, CancellationToken)

Run the solution in the project.

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

LaunchAsync(IProjectSnapshot, CancellationToken)

Runs the project in the solution.

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

Parameters

project
IProjectSnapshot

The project to launch.

cancellationToken
CancellationToken

A cancellation token to abort the operation.

Returns

A task which is completed when the operation is completed.

Applies to