IFileSystem.GetSupportedSchemesAsync(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.
Gets a list of the Uri schemes supported by the file system service.
public:
System::Threading::Tasks::Task<System::Collections::Generic::IReadOnlyList<System::String ^> ^> ^ GetSupportedSchemesAsync(System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<string>> GetSupportedSchemesAsync (System.Threading.CancellationToken cancellationToken);
abstract member GetSupportedSchemesAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<string>>
Public Function GetSupportedSchemesAsync (cancellationToken As CancellationToken) As Task(Of IReadOnlyList(Of String))
Parameters
- cancellationToken
- CancellationToken
The cancellation token.
Returns
A collection of schemes supported by the service (e.g. "file", "ftp", etc.).