Share via


IUnifiedSettingsService.GetValuesAsync Method

Definition

Gets a collection of settings values.

public System.Threading.Tasks.ValueTask<System.Collections.Generic.IReadOnlyCollection<Microsoft.VisualStudio.RpcContracts.UnifiedSettings.ReadResult>> GetValuesAsync (System.Collections.Generic.IReadOnlyCollection<string> monikerPatterns, Microsoft.VisualStudio.RpcContracts.UnifiedSettings.ReadOptions options, System.Threading.CancellationToken cancellationToken);
abstract member GetValuesAsync : System.Collections.Generic.IReadOnlyCollection<string> * Microsoft.VisualStudio.RpcContracts.UnifiedSettings.ReadOptions * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask<System.Collections.Generic.IReadOnlyCollection<Microsoft.VisualStudio.RpcContracts.UnifiedSettings.ReadResult>>
Public Function GetValuesAsync (monikerPatterns As IReadOnlyCollection(Of String), options As ReadOptions, cancellationToken As CancellationToken) As ValueTask(Of IReadOnlyCollection(Of ReadResult))

Parameters

monikerPatterns
IReadOnlyCollection<String>

Patterns of monikers to read. Use '' as a suffix to match all the monikers with a prefix. Example: 'environment.general.'.

options
ReadOptions

Options controlling how the values are read.

cancellationToken
CancellationToken

A cancellation token.

Returns

A collection containing a ReadResult for each moniker.

Applies to