BinaryMessageEncodingBindingElement.ReaderQuotas Property
Gets constraints on the complexity of XML messages that can be processed by endpoints configured with this binding element.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Property Value
Type: System.Xml.XmlDictionaryReaderQuotasThe 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:
-
MaxDepth = 32
-
MaxStringContentLength = 8192
-
MaxArrayLength = 16384
-
MaxBytesPerRead = 4096
-
MaxNameTableCharCount = 16384
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.