Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WSHttpBindingBase::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
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

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

Property Value

Type: System.Xml::XmlDictionaryReaderQuotas^

The XmlDictionaryReaderQuotas that specifies the complexity constraints.

The complexity constraints include items like 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.

This example shows how to get the maximum size for a message.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft