WebHostBuilderContext.HostingEnvironment Propiedad
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
La instancia de IWebHostEnvironment inicializada por IWebHost.
public:
property Microsoft::AspNetCore::Hosting::IHostingEnvironment ^ HostingEnvironment { Microsoft::AspNetCore::Hosting::IHostingEnvironment ^ get(); void set(Microsoft::AspNetCore::Hosting::IHostingEnvironment ^ value); };
public:
property Microsoft::AspNetCore::Hosting::IWebHostEnvironment ^ HostingEnvironment { Microsoft::AspNetCore::Hosting::IWebHostEnvironment ^ get(); void set(Microsoft::AspNetCore::Hosting::IWebHostEnvironment ^ value); };
public Microsoft.AspNetCore.Hosting.IHostingEnvironment HostingEnvironment { get; set; }
public Microsoft.AspNetCore.Hosting.IWebHostEnvironment HostingEnvironment { get; set; }
member this.HostingEnvironment : Microsoft.AspNetCore.Hosting.IHostingEnvironment with get, set
member this.HostingEnvironment : Microsoft.AspNetCore.Hosting.IWebHostEnvironment with get, set
Public Property HostingEnvironment As IHostingEnvironment
Public Property HostingEnvironment As IWebHostEnvironment