Export (0) Print
Expand All

TextMessageEncodingBindingElement::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.Channels
Assemblies:   System.ServiceModel (in System.ServiceModel.dll)
  System.ServiceModel.Primitives (in System.ServiceModel.Primitives.dll)

public:
property XmlDictionaryReaderQuotas^ ReaderQuotas {
	XmlDictionaryReaderQuotas^ get ();
	void set (XmlDictionaryReaderQuotas^ value);
}

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:

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft