Delen via


IExternalSettingsProvider.OpenBackingStoreAsync(CancellationToken) Method

Definition

An external settings region's registration includes the ID of a string resource describing the backing store, like "In-memory only; resets on restart" or "Managed by NuGet.config". When the backing store is something that can be edited directly, like a text file, that string can surround the store name with '%', like "Managed by %NuGet.config%". The %-delimited span will be rendered as a link, and when it is clicked, Unified Settings will call this method. This method should open the backing store in an editor.

public System.Threading.Tasks.Task OpenBackingStoreAsync (System.Threading.CancellationToken cancellationToken);
abstract member OpenBackingStoreAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function OpenBackingStoreAsync (cancellationToken As CancellationToken) As Task

Parameters

cancellationToken
CancellationToken

Returns

Applies to