HostingEnvironmentSection Class [IIS 7 and higher]
Defines configuration settings that control the behavior of the application hosting environment.
Syntax
class HostingEnvironmentSection : ConfigurationSection
Methods
The following table lists the methods exposed by the HostingEnvironmentSection class.
Name |
Description |
---|---|
(Inherited from ConfigurationSection.) |
|
(Inherited from ConfigurationSection.) |
|
(Inherited from ConfigurationSection.) |
|
(Inherited from ConfigurationSection.) |
|
(Inherited from ConfigurationSection.) |
Properties
The following table lists the properties exposed by the HostingEnvironmentSection class.
Name |
Description |
---|---|
IdleTimeout |
An optional read/write datetime value that specifies the interval of time that is allowed to pass before an inactive application is unloaded. The default is infinite. |
Location |
(Inherited from ConfigurationSection.) A key property. |
Path |
(Inherited from ConfigurationSection.) A key property. |
SectionInformation |
(Inherited from ConfigurationSection.) |
ShadowCopyBinAssemblies |
An optional read/write boolean value. true if the assemblies of an application in the Bin directory are shadow copied to the application's ASP.NET Temporary Files directory; otherwise, false. The default is true. |
ShutdownTimeout |
An optional read/write datetime value that specifies the amount of time allowed for an application to gracefully shut down. The default is 30 seconds. |
Subclasses
This class contains no subclasses.
Inheritance Hierarchy
HostingEnvironmentSection
Requirements
Type |
Description |
---|---|
Client |
Requires IIS 7 on Windows Vista. |
Server |
Requires IIS 7 on Windows Server 2008. |
Product |
IIS 7 |
MOF file |
WebAdministration.mof |
See Also
Reference
ConfigurationSection Class [IIS 7 and higher]