IHostEnvironment.EnvironmentName Propiedad

Definición

Obtiene o establece el nombre del entorno.Gets or sets the name of the environment. El host establece de forma automática esta propiedad en el valor de la clave "environment" tal y como se especifica en la configuración.The host automatically sets this property to the value of the "environment" key as specified in configuration.

public:
 property System::String ^ EnvironmentName { System::String ^ get(); void set(System::String ^ value); };
public string EnvironmentName { get; set; }
member this.EnvironmentName : string with get, set
Public Property EnvironmentName As String

Valor de propiedad

String

Se aplica a