WebHostBuilderContext.HostingEnvironment Eigenschaft
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Die durch IWebHost initialisierte IWebHostEnvironment.
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.IWebHostEnvironment HostingEnvironment { get; set; }
public Microsoft.AspNetCore.Hosting.IHostingEnvironment HostingEnvironment { get; set; }
member this.HostingEnvironment : Microsoft.AspNetCore.Hosting.IWebHostEnvironment with get, set
member this.HostingEnvironment : Microsoft.AspNetCore.Hosting.IHostingEnvironment with get, set
Public Property HostingEnvironment As IWebHostEnvironment
Public Property HostingEnvironment As IHostingEnvironment