IEnvironmentVariableService.RefreshEnvironmentVariablesAsync 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.
Checks the currently defined environment variables and notifies subscribers if there are changes. Usually this method will not do anything, but if environment variables were manually changed outside the scope of this service, this method will notify subscribers of those changes. Equivalent to calling UpdateEnvironmentVariablesAsync(IReadOnlyDictionary<String,String>, CancellationToken) with an empty update dictionary.
public System.Threading.Tasks.Task RefreshEnvironmentVariablesAsync (System.Threading.CancellationToken cancellationToken);
abstract member RefreshEnvironmentVariablesAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function RefreshEnvironmentVariablesAsync (cancellationToken As CancellationToken) As Task
Parameters
- cancellationToken
- CancellationToken
A cancellation token to cancel the in-progress invocation.
Returns
A task representing the async operation.