IFileSystemProvider.GetRootEntriesAsync(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 the root entries of the provider's namespace. For instance, the root entries for a provider for the local machine's file system might represent the physical drives on the local machine.
public:
System::Threading::Tasks::Task<System::Collections::Generic::IReadOnlyList<Uri ^> ^> ^ GetRootEntriesAsync(System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Uri>> GetRootEntriesAsync (System.Threading.CancellationToken cancellationToken);
abstract member GetRootEntriesAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Uri>>
Public Function GetRootEntriesAsync (cancellationToken As CancellationToken) As Task(Of IReadOnlyList(Of Uri))
Parameters
- cancellationToken
- CancellationToken
The cancellation token.
Returns
A collection of Uris for the root entries of the provider's namespace.