VerbsSettings Class

Exposes configuration settings for HTTP verbs.

Syntax

class VerbsSettings : EmbeddedObject  

Methods

This class contains no methods.

Properties

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

Name Description
AllowUnlisted A read/write boolean value. true if HTTP verbs not listed in the Verbs property will be allowed; otherwise, false. The default is true.
ApplyToWebDAV A read/write boolean value. true if the AllowUnlisted and Verbs properties are applied to WebDAV requests; otherwise, false. The default is true.
Verbs A read-only array of VerbElement values that specifies HTTP verbs to allow or deny.

Subclasses

This class contains no subclasses.

Remarks

Instances of this class are contained in the Verbs property of the RequestFilteringSection class.

This class corresponds to the <verbs> section in the ApplicationHost.config file.

Note

You must install the Request Filtering Module (Modrqflt.dll) for the settings in this class to take effect.

Inheritance Hierarchy

EmbeddedObject

VerbsSettings

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

EmbeddedObject Class
RequestFilteringSection Class
VerbElement Class