NetMsmqBindingElement.ReaderQuotas 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置 XmlDictionaryReaderQuotas 与此绑定关联的对象。
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 绑定关联的对象。
- 属性
注解
该 XmlDictionaryReaderQuotas 对象定义一些约束,这些约束取决于配置有绑定的终结点可以处理的 SOAP 消息的复杂性。 这些约束包括maxArrayLength、maxBytesPerRead、maxDepth和maxNameTableCharCountmaxStringContentLength。 这些值有助于防止拒绝服务攻击。 有关详细信息,请参阅 XmlDictionaryReaderQuotas。