CustomHeaderSettings Class [IIS 7 and higher]

IIS 7.0

Contains name/value pairs that are added to the HTTP headers in responses from the Web server.

class CustomHeaderSettings : EmbeddedObject

This class contains no methods.

The following table lists the properties exposed by the CustomHeaderSettings class.

Name

Description

CustomHeaders

An array of NameValueConfigurationElement values that contain name/value pairs that are added to the HTTP headers in responses from the Web server.

This class contains no subclasses.

Instances of this class are contained in the CustomHeaders array property of the HttpProtocolSection class.

EmbeddedObject

   CustomHeaderSettings

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: