This documentation is archived and is not being maintained.
HostingEnvironment Properties
Visual Studio 2010
The HostingEnvironment type exposes the following members.
| Name | Description | |
|---|---|---|
|
ApplicationHost | This property supports the ASP.NET infrastructure and is not intended to be used directly from your code. |
|
ApplicationID | Gets the unique identifier of the application. |
|
ApplicationPhysicalPath | Gets the physical path on disk to the application's directory. |
|
ApplicationVirtualPath | Gets the root virtual path of the application. |
|
Cache | Gets the Cache instance for the current application. |
|
InClientBuildManager | Gets a value that indicates whether the hosting environment has access to the ASP.NET build system. |
|
InitializationException | Gets any exception thrown during initialization of the HostingEnvironment object. |
|
IsHosted | Gets a value indicating whether the current application domain is being hosted by an ApplicationManager object. |
|
MaxConcurrentRequestsPerCPU | Gets or sets the maximum concurrent requests per CPU. |
|
MaxConcurrentThreadsPerCPU | Gets or sets the maximum concurrent threads per CPU. |
|
ShutdownReason | Returns an enumerated value that indicates why the application terminated. |
|
SiteName | Gets the name of the site. |
|
VirtualPathProvider | Gets the virtual path provider for this application. |
Show: