IVsSccFolderProviderBinder.BindAsync(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Find a controling scc provider for "rootFolder". It is ok to look inside but that would be at discretion of what is convenient and performant for the current provider. It might return all known "roots" if it is global registration based. IVsSccFolderManager will attempt to rebind dynamically on get 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))
Parameters
- rootFolder
- String
the folder root we need IVsSccFolderProvider for. Must be absolute path.
- cancellationToken
- CancellationToken
cancelation token.
Returns
IVsSccFolderProvider that was associated with this location.