Partilhar via


IFileSystem.GetSupportedSchemesAsync(CancellationToken) Method

Definition

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.).

Applies to