BinaryMessageEncodingElement.ReaderQuotas 属性

定义

获取或设置 SOAP 消息的复杂性约束,这些消息可由配置有此绑定的终结点处理。

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 复杂性约束的元素。

属性

注解

复杂性约束包括诸如最大元素深度、消息中字符串内容的最大长度等项。 这些约束可防止尝试使用消息复杂性来绑定终结点处理资源的一类拒绝服务(DOS)攻击。

适用于