Export (0) Print
Expand All

WebHttpBindingElement.ReaderQuotas Property

Gets or sets the configuration element that contains the constraints on the complexity of SOAP messages that can be processed by endpoints configured with this binding.

Namespace:  System.ServiceModel.Configuration
Assembly:  System.ServiceModel.Web (in System.ServiceModel.Web.dll)

public XmlDictionaryReaderQuotasElement ReaderQuotas { get; }

Property Value

Type: System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement
The XmlDictionaryReaderQuotasElement that specifies the complexity constraints.


The value set is null.


The quota values of XmlDictionaryReaderQuotas are read only.


The quotas set must be positive.

The complexity constraints protect against a class of denial of service (DOS) attacks that attempt to use message complexity to tie up endpoint processing resources. The properties that express these constraints and their default values (in bytes) are as follows:

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 3.5 SP1
© 2015 Microsoft