ITestHostEnvironmentVariableProvider.UpdateAsync 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.
Updates the environment variables for the test host asynchronously.
public System.Threading.Tasks.Task UpdateAsync(Microsoft.Testing.Platform.Extensions.TestHostControllers.IEnvironmentVariables environmentVariables);
abstract member UpdateAsync : Microsoft.Testing.Platform.Extensions.TestHostControllers.IEnvironmentVariables -> System.Threading.Tasks.Task
Public Function UpdateAsync (environmentVariables As IEnvironmentVariables) As Task
Parameters
- environmentVariables
- IEnvironmentVariables
The environment variables to update.
Returns
A task representing the asynchronous operation.