Export (0) Print
Expand All

HostingEnvironment Properties

The HostingEnvironment type exposes the following members.

  Name Description
Public property Static member ApplicationHost This property supports the ASP.NET infrastructure and is not intended to be used directly from your code.
Public property Static member ApplicationID Gets the unique identifier of the application.
Public property Static member ApplicationPhysicalPath Gets the physical path on disk to the application's directory.
Public property Static member ApplicationVirtualPath Gets the root virtual path of the application.
Public property Static member Cache Gets the Cache instance for the current application.
Public property Static member InClientBuildManager Gets a value that indicates whether the hosting environment has access to the ASP.NET build system.
Public property Static member InitializationException Gets any exception thrown during initialization of the HostingEnvironment object.
Public property Static member IsDevelopmentEnvironment Gets a value that indicats whether the current application is in a development environment.
Public property Static member IsHosted Gets a value indicating whether the current application domain is being hosted by an ApplicationManager object.
Public property Static member MaxConcurrentRequestsPerCPU Gets or sets the maximum concurrent requests per CPU.
Public property Static member MaxConcurrentThreadsPerCPU Gets or sets the maximum concurrent threads per CPU.
Public property Static member ShutdownReason Returns an enumerated value that indicates why the application terminated.
Public property Static member SiteName Gets the name of the site.
Public property Static member VirtualPathProvider Gets the virtual path provider for this application.
Top
Show:
© 2014 Microsoft