Method RemoveRootAsync
RemoveRootAsync(string, bool, CancellationToken)
Removes a root from the available roots list.
public Task<bool> RemoveRootAsync(string uri, bool notifyServer = true, CancellationToken cancellationToken = default)
Parameters
uristringThe URI of the root to remove.
notifyServerboolWhether to send a list_changed notification to the server.
cancellationTokenCancellationTokenA token to cancel the operation.