IVsSccFolderProviderBinder.BindAsync(String, 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.
Localize um provedor SCC de controle para "rootFolder". É bom olhar para dentro, mas isso seria a critério do que é conveniente e de alto desempenho para o provedor atual. Ele poderá retornar todas as "raízes" conhecidas se ele for baseado em registro global. IVsSccFolderManager tentará reassociar dinamicamente em obter status.
public:
System::Threading::Tasks::Task<System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Shell::SccIntegration::IVsSccFolderProvider ^> ^> ^ BindAsync(System::String ^ rootFolder, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Shell.SccIntegration.IVsSccFolderProvider>> BindAsync (string rootFolder, System.Threading.CancellationToken cancellationToken);
abstract member BindAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.VisualStudio.Shell.SccIntegration.IVsSccFolderProvider>>
Public Function BindAsync (rootFolder As String, cancellationToken As CancellationToken) As Task(Of IEnumerable(Of IVsSccFolderProvider))
Parâmetros
- rootFolder
- String
a raiz da pasta necessária IVsSccFolderProvider para. Deve ser um caminho absoluto
- cancellationToken
- CancellationToken
token de cancelamento
Retornos
IVsSccFolderProvider que foi associado a este local