Share via


BasicHttpBindingElement.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

屬性值

XmlDictionaryReaderQuotasElement

指定複雜性條件約束的 XmlDictionaryReaderQuotas

屬性

備註

複雜性條件約束包含最大項目深度和訊息內最大字串內容長度等項目, 這些條件約束可以防止嘗試使用訊息複雜性困住端點處理資源的阻絕服務 (DOS) 攻擊類別。

適用於