HostBuilderContext.HostingEnvironment Property
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.
The IHostEnvironment initialized by the IHost.
public:
property Microsoft::Extensions::Hosting::IHostEnvironment ^ HostingEnvironment { Microsoft::Extensions::Hosting::IHostEnvironment ^ get(); void set(Microsoft::Extensions::Hosting::IHostEnvironment ^ value); };
public Microsoft.Extensions.Hosting.IHostEnvironment HostingEnvironment { get; set; }
member this.HostingEnvironment : Microsoft.Extensions.Hosting.IHostEnvironment with get, set
Public Property HostingEnvironment As IHostEnvironment
Property Value
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.