语言

NetMsmqBindingElement.ReaderQuotas 属性

定义

获取或设置 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。

适用于