Method ClearRootsAsync
ClearRootsAsync(bool, CancellationToken)
Clears all roots.
public Task ClearRootsAsync(bool notifyServer = true, CancellationToken cancellationToken = default)
Parameters
notifyServerboolWhether to send a list_changed notification to the server.
cancellationTokenCancellationTokenA token to cancel the operation.