Compartir a través de


UpdateExtensions.WaitIntellisenseReadyAsync Method

Definition

Overloads

WaitIntellisenseReadyAsync(IAsyncQueryable<IProjectSnapshot>, CancellationToken)

Wait intellisense operation progress of projects to be ready.

WaitIntellisenseReadyAsync(IAsyncQueryable<ISolutionSnapshot>, CancellationToken)

Wait intellisense operation progress of the solution to be ready.

WaitIntellisenseReadyAsync(IProjectSnapshot, CancellationToken)

Wait intellisense operation progress of a single project to be ready.

WaitIntellisenseReadyAsync(IAsyncQueryable<IProjectSnapshot>, CancellationToken)

Wait intellisense operation progress of projects to be ready.

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

Parameters

projects
IAsyncQueryable<IProjectSnapshot>

A collection of projects.

cancellationToken
CancellationToken

A cancellation token to abort the execution.

Returns

A task which will be completed when the intellisense stage of projects are ready.

Applies to

WaitIntellisenseReadyAsync(IAsyncQueryable<ISolutionSnapshot>, CancellationToken)

Wait intellisense operation progress of the solution to be ready.

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

Returns

A task to finish when the intellisense stage of the solution is ready.

Applies to

WaitIntellisenseReadyAsync(IProjectSnapshot, CancellationToken)

Wait intellisense operation progress of a single project to be ready.

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

Parameters

project
IProjectSnapshot

A project.

cancellationToken
CancellationToken

A cancellation token to abort the execution.

Returns

A task which will be completed when the intellisense stage of projects are ready.

Applies to