HostApplicationBuilder.Environment Property
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.
Gets information about the hosting environment an application is running in.
public:
property Microsoft::Extensions::Hosting::IHostEnvironment ^ Environment { Microsoft::Extensions::Hosting::IHostEnvironment ^ get(); };
public Microsoft.Extensions.Hosting.IHostEnvironment Environment { get; }
member this.Environment : Microsoft.Extensions.Hosting.IHostEnvironment
Public ReadOnly Property Environment As IHostEnvironment
Proizvod | Verzije |
---|---|
.NET | 8 (package-provided), 9 (package-provided) |
.NET Framework | 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided) |
.NET Standard | 2.0 (package-provided), 2.1 (package-provided) |
Surađujte s nama na GitHubu
Izvor za ovaj sadržaj možete pronaći na GitHubu, gdje možete stvarati i pregledavati probleme i zahtjeve za povlačenjem. Dodatne informacije potražite u našem vodiču za suradnike.
Povratne informacije o proizvodu .NET
.NET je projekt otvorenog koda. Odaberite vezu za slanje povratnih informacija: