ReaderQuotas Property
Collapse the table of content
Expand the table of content

BinaryMessageEncodingElement.ReaderQuotas Property


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

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

public XmlDictionaryReaderQuotasElement ReaderQuotas { get; }

Property Value

Type: System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement

The XmlDictionaryReaderQuotas that specifies the complexity constraints.

The complexity constraints include items such as a maximum element depth, a maximum length for string content within the message. The constraints protect against a class of denial of service (DOS) attacks that attempt to use message complexity to tie up endpoint processing resources.

.NET Framework
Available since 3.0
Return to top
© 2016 Microsoft