Export (0) Print
Expand All

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

public XmlDictionaryReaderQuotas ReaderQuotas { get; set; }

Property Value

Type: System.Xml.XmlDictionaryReaderQuotas
The complexity constraints.

ExceptionCondition
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

Supported in: 4.5.2, 4.5.1, 4.5, 4

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft