VerbElement Class
Represents an HTTP verb that is allowed or denied.
Syntax
class VerbElement : CollectionElement
Methods
This class contains no methods.
Properties
The following table lists the properties exposed by the VerbElement
class.
Name | Description |
---|---|
Allowed |
A required read/write boolean value. true if the HTTP verb specified in the Verb property is allowed; otherwise, false . The default is true . |
Verb |
A required unique nonempty read/write string value that specifies an HTTP verb. The key property. |
Subclasses
This class contains no subclasses.
Remarks
Instances of this class are contained in the Verbs
property of the VerbsSettings class.
This class corresponds to a verb
attribute in the <verbs>
section of the ApplicationHost.config file.
Note
You must install the Request Filtering Module (Modrqflt.dll) for this configuration setting to take effect.
Inheritance Hierarchy
VerbElement
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 |