IIndexWorkspaceService2.IsProviderUpToDateAsync(String, FileScannerEntityCache, CancellationToken) Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Verificar se a entidade tem um tipo de scanner de arquivo atualizado
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)
Parâmetros
- filePath
- String
O caminho do arquivo>
- fileScannerEntityCache
- FileScannerEntityCache
Informações sobre o scanner de arquivo
- cancellationToken
- CancellationToken
Token de cancelamento
Retornos
Tarefa de conclusão