IUnifiedSettingsService.GetValueAsync 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.
Gets a single setting value.
public System.Threading.Tasks.ValueTask<Microsoft.VisualStudio.RpcContracts.UnifiedSettings.ReadResult> GetValueAsync (string moniker, Microsoft.VisualStudio.RpcContracts.UnifiedSettings.ReadOptions options, System.Threading.CancellationToken cancellationToken);
abstract member GetValueAsync : string * Microsoft.VisualStudio.RpcContracts.UnifiedSettings.ReadOptions * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask<Microsoft.VisualStudio.RpcContracts.UnifiedSettings.ReadResult>
Public Function GetValueAsync (moniker As String, options As ReadOptions, cancellationToken As CancellationToken) As ValueTask(Of ReadResult)
Parameters
- moniker
- String
The moniker of the setting to read.
- options
- ReadOptions
Options controlling how the value is read.
- cancellationToken
- CancellationToken
A cancellation token.
Returns
The result of the read operation.