The properties of System.Web.Hosting.HostingEnvironment are listed below. For a list of all members, see the HostingEnvironment Members list.
See Also: Inherited members from System.MarshalByRefObject
[read-only] static | ApplicationID | string.
![]() Gets the unique identifier of the application. |
[read-only] static | ApplicationPhysicalPath | string.
![]() Gets the physical path on disk to the application's directory. |
[read-only] static | ApplicationVirtualPath | string.
![]() Gets the root virtual path of the application. |
[read-only] static | Cache | System.Web.Caching.Cache.
![]() Gets the System.Web.Caching.Cache instance for the current application. |
[read-only] static | InitializationException | Exception.
![]() Gets any exception thrown during initialization of the System.Web.Hosting.HostingEnvironment object. |
[read-only] static | IsHosted | bool.
![]() Gets a value indicating whether the current application domain is being hosted by an System.Web.Hosting.ApplicationManager object. |
[read-only] static | ShutdownReason | System.Web.ApplicationShutdownReason.
![]() Returns an enumerated value that indicates why the application terminated. |
[read-only] static | SiteName | string.
![]() Gets the name of the site. |
[read-only] static | VirtualPathProvider | VirtualPathProvider.
![]() Gets the virtual path provider for this application. |