WSHttpBindingBaseElement.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) 攻擊類型。

適用於