EnvironmentVariable(String, String, Boolean, Boolean) Constructor

Definition

Represents an environment variable.

public EnvironmentVariable(string variable, string? value, bool isSecret, bool isLocked);
new Microsoft.Testing.Platform.Extensions.TestHostControllers.EnvironmentVariable : string * string * bool * bool -> Microsoft.Testing.Platform.Extensions.TestHostControllers.EnvironmentVariable
Public Sub New (variable As String, value As String, isSecret As Boolean, isLocked As Boolean)

Parameters

variable
String

The name of the environment variable.

value
String

The value of the environment variable.

isSecret
Boolean

Indicates whether the environment variable is a secret.

isLocked
Boolean

Indicates whether the environment variable is locked.

Applies to