ReaderQuotas Property

BinaryMessageEncodingBindingElement.ReaderQuotas Property


Gets constraints on the complexity of XML messages that can be processed by endpoints configured with this binding element.

Namespace:   System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public XmlDictionaryReaderQuotas ReaderQuotas { get; set; }

Property Value

Type: System.Xml.XmlDictionaryReaderQuotas

The XmlDictionaryReaderQuotas that specifies the complexity constraints on SOAP messages exchanged. The default values for these constraints are provided in the following remarks section.

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 are as follows:

XmlDictionaryReaderQuotas quotas = be.ReaderQuotas;

Universal Windows Platform
Available since 4.5
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Return to top
© 2015 Microsoft