共用方式為


EnvironmentVariableSnapshot(String, String, Boolean) Constructor

Definition

A snapshot of an environment variable.

public EnvironmentVariableSnapshot (string Name, string? Value, bool IsFromSpec);
new Aspire.Hosting.ApplicationModel.EnvironmentVariableSnapshot : string * string * bool -> Aspire.Hosting.ApplicationModel.EnvironmentVariableSnapshot
Public Sub New (Name As String, Value As String, IsFromSpec As Boolean)

Parameters

Name
String

The name of the environment variable.

Value
String

The value of the environment variable.

IsFromSpec
Boolean

Determines if this environment variable was defined in the resource explicitly or computed (for e.g. inherited from the process hierarchy).

Applies to