Share via


IValueProvider.GetValueAsync(CancellationToken) Method

Definition

Gets the value for use as an environment variable.

public System.Threading.Tasks.ValueTask<string?> GetValueAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetValueAsync : System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask<string>
Public Function GetValueAsync (Optional cancellationToken As CancellationToken = Nothing) As ValueTask(Of String)

Parameters

cancellationToken
CancellationToken

A CancellationToken.

Returns

Applies to