Service.Environment Property
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.
Represents a collection of environment variables for the service container.
[YamlDotNet.Serialization.YamlMember(Alias="environment", DefaultValuesHandling=YamlDotNet.Serialization.DefaultValuesHandling.OmitEmptyCollections)]
public System.Collections.Generic.Dictionary<string,string> Environment { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="environment", DefaultValuesHandling=YamlDotNet.Serialization.DefaultValuesHandling.OmitEmptyCollections)>]
member this.Environment : System.Collections.Generic.Dictionary<string, string> with get, set
Public Property Environment As Dictionary(Of String, String)
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute
Remarks
The property allows for specifying environment variables as key-value pairs. These variables can be used to configure the behavior of the container or pass information to the application running inside the container.