Configures request limits for applications on a Web server.
class ServerRuntimeSection : ConfigurationSection
The following table lists the methods exposed by the ServerRuntimeSection class.
Name
Description
GetAllowDefinition
(Inherited from ConfigurationSection.)
GetAllowLocation
RevertToParent
SetAllowDefinition
SetAllowLocation
The following table lists the properties exposed by the ServerRuntimeSection class.
AlternateHostName
A read/write string value that specifies the name of an alternate host.
AppConcurrentRequestLimit
A read/write uint32 value that specifies the maximum number of requests that can be queued for an application. The default is 5000.
Enabled
A read/write boolean value. true if applications on the Web server are allowed to serve content; otherwise, false. The default is true.
EnableNagling
A read/write boolean value. true if nagling is enabled; otherwise, false. The default is false.
FrequentHitThreshold
A read/write uint32 value that specifies the number of times a URL must be requested, within the time span specified in the FrequentHitTimePeriod property, to be considered frequently hit. The value must be between 1 and 2147483647. The default is 2. If the URL is frequently hit, it is cached by IIS.
FrequentHitTimePeriod
A read/write datetime value that specifies the time interval in which a URL must be requested a specified number of times to be considered frequently hit. The default is 10 seconds. The number of times is specified in the FrequentHitThreshold property.
Location
(Inherited from ConfigurationSection.) A key property.
MaxRequestEntityAllowed
A read/write uint32 value that specifies the maximum number of bytes allowed in the entity body of a request. If a Content-Length header specifies a larger amount, IIS sends a 403 error response.
Path
SectionInformation
UploadReadAheadSize
A read/write uint32 value that specifies the number of bytes a Web server will read into a buffer and pass to an ISAPI extension. This occurs once per client request. The ISAPI extension receives any additional data directly from the client. The value must be between 0 and 2147483647. The default is 49152.
This class contains no subclasses.
This class corresponds to the <serverRuntime> section in the ApplicationHost.config file.
ConfigurationSection
ServerRuntimeSection
Type
Client
Requires IIS 7 on Windows Vista.
Server
Requires IIS 7 on Windows Server 2008.
Product
IIS 7
MOF file
WebAdministration.mof