Udostępnij za pośrednictwem


IIndexWorkspaceService2.IsProviderUpToDateAsync Method

Definition

Check if entity has a file scanner type up to date

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

Parameters

filePath
String

The file path>

fileScannerEntityCache
FileScannerEntityCache

Info about the file scanner

cancellationToken
CancellationToken

Cancellation token

Returns

Completion task

Applies to