Nota
L-aċċess għal din il-paġna jeħtieġ l-awtorizzazzjoni. Tista’ tipprova tidħol jew tibdel id-direttorji.
L-aċċess għal din il-paġna jeħtieġ l-awtorizzazzjoni. Tista’ tipprova tibdel id-direttorji.
Represents an HTTP protocol configuration section.
Syntax
class HttpProtocolSection : ConfigurationSectionWithCollection
Methods
The following table lists the methods exposed by the HttpProtocolSection class.
| Name | Description |
|---|---|
| Add | (Inherited from ConfigurationSectionWithCollection.) |
| Clear | (Inherited from ConfigurationSectionWithCollection.) |
| Get | (Inherited from ConfigurationSectionWithCollection.) |
| GetAllowDefinition | (Inherited from ConfigurationSection.) |
| GetAllowLocation | (Inherited from ConfigurationSection.) |
| Remove | (Inherited from ConfigurationSectionWithCollection.) |
| RevertToParent | (Inherited from ConfigurationSection.) |
| SetAllowDefinition | (Inherited from ConfigurationSection.) |
| SetAllowLocation | (Inherited from ConfigurationSection.) |
Properties
The following table lists the properties exposed by the HttpProtocolSection class.
| Name | Description |
|---|---|
AllowKeepAlive |
A boolean value. true if IIS keeps client/server connections open across multiple requests to the server; otherwise, false. The default is true.An open connection improves performance when a client makes multiple requests for Web page content. If this property is false, the server has to open a new connection for every request. Note: You must use an HTTP Keep-Alive header when you use integrated security or connection-based authentication services such as Integrated Windows authentication. |
CustomHeaders |
A CustomHeaderSettings value that contains name/value pairs that are added to the HTTP headers in responses from the Web server. |
Location |
(Inherited from ConfigurationSection.) A key property. |
Path |
(Inherited from ConfigurationSection.) A key property. |
RedirectHeaders |
A RedirectHeaderSettings value that contains redirect name/value pairs that are added to the HTTP headers in responses from the Web server. |
SectionInformation |
(Inherited from ConfigurationSection.) |
Subclasses
This class contains no subclasses.
Inheritance Hierarchy
ConfigurationSectionWithCollection
HttpProtocolSection
Requirements
| Type | Description |
|---|---|
| Client | - IIS 7.0 on Windows Vista - IIS 7.5 on Windows 7 - IIS 8.0 on Windows 8 - IIS 10.0 on Windows 10 |
| Server | - IIS 7.0 on Windows Server 2008 - IIS 7.5 on Windows Server 2008 R2 - IIS 8.0 on Windows Server 2012 - IIS 8.5 on Windows Server 2012 R2 - IIS 10.0 on Windows Server 2016 |
| Product | - IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0 |
| MOF file | WebAdministration.mof |
See Also
ConfigurationSectionWithCollection Class
CustomHeaderSettings Class
NameValueConfigurationElement Class
RedirectHeaderSettings Class