IFileScannerProvider.GetSymbolScannersAsync(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);
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)))

参数

cancellationToken
CancellationToken

取消标记。

返回

Task<IReadOnlyCollection<Lazy<IWorkspaceProviderFactory<IFileScanner>,IFileScannerMetadata>>>

带有元数据的符号扫描器的集合。

适用于