IConnectedWorkspaceService.OpenFolderAsync(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.
Opens a folder pointed to by the given path. This is equivalent to "loading" the folder for use.
public System.Threading.Tasks.Task OpenFolderAsync (string relativePath, System.Threading.CancellationToken cancellationToken = default);
abstract member OpenFolderAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function OpenFolderAsync (relativePath As String, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- relativePath
- String
The relative path to the folder to open.
- cancellationToken
- CancellationToken
A cancellation token.
Returns
A task that represent the completion of opening the folder.