System.Web.Hosting.HostingEnvironment: Property Members

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

Public Properties

[read-only]
static
ApplicationIDstring.

Gets the unique identifier of the application.

[read-only]
static
ApplicationPhysicalPathstring.

Gets the physical path on disk to the application's directory.

[read-only]
static
ApplicationVirtualPathstring.

Gets the root virtual path of the application.

[read-only]
static
CacheSystem.Web.Caching.Cache.

Gets the System.Web.Caching.Cache instance for the current application.

[read-only]
static
InitializationExceptionException.

Gets any exception thrown during initialization of the System.Web.Hosting.HostingEnvironment object.

[read-only]
static
IsHostedbool.

Gets a value indicating whether the current application domain is being hosted by an System.Web.Hosting.ApplicationManager object.

[read-only]
static
ShutdownReasonSystem.Web.ApplicationShutdownReason.

Returns an enumerated value that indicates why the application terminated.

[read-only]
static
SiteNamestring.

Gets the name of the site.

[read-only]
static
VirtualPathProviderVirtualPathProvider.

Gets the virtual path provider for this application.