Udostępnij za pośrednictwem


IIndexWorkspaceService2.GetFileScannerCacheAsync Method

Definition

Overloads

GetFileScannerCacheAsync(IEnumerable<String>, CancellationToken)

Return multiple file scanner cache

GetFileScannerCacheAsync(String, CancellationToken)

Return File scanner cache for an file entity

GetFileScannerCacheAsync(IEnumerable<String>, CancellationToken)

Return multiple file scanner cache

public:
 System::Threading::Tasks::Task<System::Collections::Generic::IDictionary<System::String ^, System::Collections::Generic::IReadOnlyList<Microsoft::VisualStudio::Workspace::Indexing::FileScannerEntityCache ^> ^> ^> ^ GetFileScannerCacheAsync(System::Collections::Generic::IEnumerable<System::String ^> ^ filePaths, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<System.Collections.Generic.IDictionary<string,System.Collections.Generic.IReadOnlyList<Microsoft.VisualStudio.Workspace.Indexing.FileScannerEntityCache>>> GetFileScannerCacheAsync (System.Collections.Generic.IEnumerable<string> filePaths, System.Threading.CancellationToken cancellationToken);
abstract member GetFileScannerCacheAsync : seq<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IDictionary<string, System.Collections.Generic.IReadOnlyList<Microsoft.VisualStudio.Workspace.Indexing.FileScannerEntityCache>>>
Public Function GetFileScannerCacheAsync (filePaths As IEnumerable(Of String), cancellationToken As CancellationToken) As Task(Of IDictionary(Of String, IReadOnlyList(Of FileScannerEntityCache)))

Parameters

filePaths
IEnumerable<String>

Enumerable of file paths

cancellationToken
CancellationToken

Cancellation token

Returns

Completion task with Dictionary of data

Applies to

GetFileScannerCacheAsync(String, CancellationToken)

Return File scanner cache for an file entity

public:
 System::Threading::Tasks::Task<System::Collections::Generic::IReadOnlyList<Microsoft::VisualStudio::Workspace::Indexing::FileScannerEntityCache ^> ^> ^ GetFileScannerCacheAsync(System::String ^ filePath, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.VisualStudio.Workspace.Indexing.FileScannerEntityCache>> GetFileScannerCacheAsync (string filePath, System.Threading.CancellationToken cancellationToken);
abstract member GetFileScannerCacheAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.VisualStudio.Workspace.Indexing.FileScannerEntityCache>>
Public Function GetFileScannerCacheAsync (filePath As String, cancellationToken As CancellationToken) As Task(Of IReadOnlyList(Of FileScannerEntityCache))

Parameters

filePath
String

The file path

cancellationToken
CancellationToken

Cancellation token

Returns

Completion task with result

Applies to