IManagedIntellisenseService2.GetIntellisenseForSolutionAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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