Udostępnij za pośrednictwem


IManagedIntellisenseService2.GetIntellisenseForSolutionAsync Method

Definition

Get intellisense data for a solution file excluding certain projects

public:
 System::Threading::Tasks::Task<System::Collections::Generic::IReadOnlyDictionary<System::String ^, Microsoft::VisualStudio::Workspace::Extensions::ManagedCommandLineInfo> ^> ^ GetIntellisenseForSolutionAsync(System::String ^ solutionFilePath, System::Collections::Immutable::ImmutableHashSet<System::String ^> ^ excludedProjects, System::String ^ solutionBuildConfiguration, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyDictionary<string,Microsoft.VisualStudio.Workspace.Extensions.ManagedCommandLineInfo>> GetIntellisenseForSolutionAsync (string solutionFilePath, System.Collections.Immutable.ImmutableHashSet<string> excludedProjects, string solutionBuildConfiguration, System.Threading.CancellationToken cancellationToken);
abstract member GetIntellisenseForSolutionAsync : string * System.Collections.Immutable.ImmutableHashSet<string> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyDictionary<string, Microsoft.VisualStudio.Workspace.Extensions.ManagedCommandLineInfo>>
Public Function GetIntellisenseForSolutionAsync (solutionFilePath As String, excludedProjects As ImmutableHashSet(Of String), solutionBuildConfiguration As String, cancellationToken As CancellationToken) As Task(Of IReadOnlyDictionary(Of String, ManagedCommandLineInfo))

Parameters

solutionFilePath
String

The solution file path

excludedProjects
ImmutableHashSet<String>

The full paths of excluded projects

solutionBuildConfiguration
String

The solution configuration

cancellationToken
CancellationToken

A cancellation token

Returns

Dictionary with project and command line info

Applies to