Export (0) Print
Expand All
Expand Minimize

HostingEnvironmentSection Class [IIS 7 and higher]

IIS 7.0

Defines configuration settings that control the behavior of the application hosting environment.

class HostingEnvironmentSection : ConfigurationSection

The following table lists the methods exposed by the HostingEnvironmentSection class.

Name

Description

GetAllowDefinition

(Inherited from ConfigurationSection.)

GetAllowLocation

(Inherited from ConfigurationSection.)

RevertToParent

(Inherited from ConfigurationSection.)

SetAllowDefinition

(Inherited from ConfigurationSection.)

SetAllowLocation

(Inherited from ConfigurationSection.)

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.

This class contains no subclasses.

ConfigurationSection

   HostingEnvironmentSection

Type

Description

Client

Requires IIS 7 on Windows Vista.

Server

Requires IIS 7 on Windows Server 2008.

Product

IIS 7

MOF file

WebAdministration.mof

Community Additions

ADD
Show:
© 2014 Microsoft