IFileScannerProvider.GetSymbolScannersAsync(CancellationToken) 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.
Gets a collection of symbol scanners.
public:
System::Threading::Tasks::Task<System::Collections::Generic::IReadOnlyCollection<Lazy<Microsoft::VisualStudio::Workspace::IWorkspaceProviderFactory<Microsoft::VisualStudio::Workspace::Indexing::IFileScanner ^> ^, Microsoft::VisualStudio::Workspace::Indexing::IFileScannerMetadata ^> ^> ^> ^ GetSymbolScannersAsync(System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyCollection<Lazy<Microsoft.VisualStudio.Workspace.IWorkspaceProviderFactory<Microsoft.VisualStudio.Workspace.Indexing.IFileScanner>,Microsoft.VisualStudio.Workspace.Indexing.IFileScannerMetadata>>> GetSymbolScannersAsync (System.Threading.CancellationToken cancellationToken);
abstract member GetSymbolScannersAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyCollection<Lazy<Microsoft.VisualStudio.Workspace.IWorkspaceProviderFactory<Microsoft.VisualStudio.Workspace.Indexing.IFileScanner>, Microsoft.VisualStudio.Workspace.Indexing.IFileScannerMetadata>>>
Public Function GetSymbolScannersAsync (cancellationToken As CancellationToken) As Task(Of IReadOnlyCollection(Of Lazy(Of IWorkspaceProviderFactory(Of IFileScanner), IFileScannerMetadata)))
Parameters
- cancellationToken
- CancellationToken
A cancellation token.
Returns
A collection of symbol scanners with metadata.