IFileScannerProvider.GetSymbolScannersAsync(CancellationToken) Method

Definition

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.

Applies to