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.

WebServiceEndpoint::ReaderQuotas Property

.NET Framework (current version)
 

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

Namespace:   System.ServiceModel.Description
Assembly:  System.ServiceModel.Web (in System.ServiceModel.Web.dll)

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

Property Value

Type: System.Xml::XmlDictionaryReaderQuotas^

The complexity constraints.

Exception Condition
ArgumentNullException

The value set is null.

ArgumentOutOfRangeException

The quota values of XmlDictionaryReaderQuotas are read only.

ArgumentException

The quotas set must be positive.

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 (in bytes) are as follows:

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