語言

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 物件定義了多項限制,限制可由端點以綁定處理的複雜度。 這些約束包括 maxArrayLength、 maxBytesPerRead、 maxDepth、 maxNameTableCharCountmaxStringContentLength和 。 這些價值觀有助於防止阻斷服務攻擊。 如需詳細資訊,請參閱XmlDictionaryReaderQuotas。

適用於