MtomMessageEncodingElement.ReaderQuotas 属性
定义
获取或设置可由配置了此绑定的终结点处理的 SOAP 消息的复杂性约束。Gets or sets constraints on the complexity of SOAP messages that can be processed by endpoints configured with this binding.
public:
property System::ServiceModel::Configuration::XmlDictionaryReaderQuotasElement ^ ReaderQuotas { System::ServiceModel::Configuration::XmlDictionaryReaderQuotasElement ^ get(); };
[System.Configuration.ConfigurationProperty("readerQuotas")]
public System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement ReaderQuotas { get; }
[<System.Configuration.ConfigurationProperty("readerQuotas")>]
member this.ReaderQuotas : System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement
Public ReadOnly Property ReaderQuotas As XmlDictionaryReaderQuotasElement
属性值
指定复杂性约束的 XmlDictionaryReaderQuotas。The XmlDictionaryReaderQuotas that specifies the complexity constraints.
- 属性
注解
复杂性约束包括多个项,例如最大元素深度、消息中的字符串内容的最大长度等。The complexity constraints include items such as a maximum element depth, a maximum length for string content within the message. 这些约束可以抵御某种类型的拒绝服务 (DoS) 攻击,这些攻击试图利用消息复杂性来占用终结点处理资源。The constraints protect against a class of denial of service (DOS) attacks that attempt to use message complexity to tie up endpoint processing resources.