EnvironmentVariable Class
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.
public class EnvironmentVariable
type EnvironmentVariable = class
Public Class EnvironmentVariable
- Inheritance
-
EnvironmentVariable
Constructors
| Name | Description |
|---|---|
| EnvironmentVariable() |
Initializes a new instance of the EnvironmentVariable class. |
| EnvironmentVariable(String, String) |
Initializes a new instance of the EnvironmentVariable class. |
Properties
| Name | Description |
|---|---|
| Name |
Gets or sets environment variable name |
| Value |
Gets or sets the value of this environment variable must be the name of an AppSetting. The actual value of the environment variable in container will be retrieved from the specified AppSetting at runtime. If the AppSetting is not found, the value will be set to an empty string in the container at runtime. |
Methods
| Name | Description |
|---|---|
| Validate() |
Validate the object. |