<readerQuotas>

Defines the constraints on the complexity of SOAP messages that can be processed by endpoints configured with a binding.

스키마 계층

<system.serviceModel>
  <bindings>

구문

<readerQuotas 
    maxArrayLength="Integer"
        maxBytesPerRead="Integer"
        maxDepth="Integer"
        maxNameTableCharCount="Integer"
    maxStringContentLength=="Integer" />

특성 및 요소

The following sections describe attributes, child elements, and parent elements.

특성

Attribute Description

maxArrayLength

A positive integer that specifies the maximum allowed array length of data being received by WCF(Windows Communication Foundation) from a client. The default is 16384.

maxBytesPerRead

A positive integer that specifies the maximum allowed bytes returned per read. The default is 4096.

maxDepth

A positive integer that specifies the maximum nested node depth per read. The default is 32.

maxNameTableCharCount

A positive integer that specifies the maximum characters allowed in a table name. The default is 16384.

maxStringContentLength

A positive integer that specifies the maximum characters allowed in XML element content. The default is 8192.

자식 요소

None

부모 요소

This element is the child element of all the standard bindings that come with Windows Communication Foundation (WCF).

설명

The complexity constraints provide protection from denial of service (DOS) attacks that attempt to use message complexity to tie up endpoint processing resources. Other complexity constraints include items such as a maximum element depth and a maximum length for string content within the message.

참고 항목

참조

<customBinding>
XmlDictionaryReaderQuotasElement

개념

<binding>

기타 리소스

Windows Communication Foundation Bindings
Extending Bindings
Custom Bindings
Windows Communication Foundation Bindings
Configuring System-Provided Bindings
Using Bindings to Configure Services and Clients