MtomMessageEncodingBindingElement.ReaderQuotas 屬性

定義

取得或設定 XML 訊息複雜度的條件約束,而這些條件約束可由以此繫結項目所設定的端點處理。Gets or sets constraints on the complexity of XML messages that can be processed by endpoints configured with this binding element.

public:
 property System::Xml::XmlDictionaryReaderQuotas ^ ReaderQuotas { System::Xml::XmlDictionaryReaderQuotas ^ get(); };
public System.Xml.XmlDictionaryReaderQuotas ReaderQuotas { get; }
member this.ReaderQuotas : System.Xml.XmlDictionaryReaderQuotas
Public ReadOnly Property ReaderQuotas As XmlDictionaryReaderQuotas

屬性值

XmlDictionaryReaderQuotas,指定已交換之 SOAP 訊息的複雜度條件約束。The XmlDictionaryReaderQuotas that specifies the complexity constraints on SOAP messages exchanged. 接下來的「備註」一節提供了這些條件約束的預設值。The default values for these constraints are provided in the following Remarks section.

備註

複雜性條件約束可以防止嘗試使用訊息複雜性困住端點處理資源的阻絕服務 (DOS) 攻擊類別。The complexity constraints protect against a class of denial of service (DOS) attacks that attempt to use message complexity to tie up endpoint processing resources. 表示這些條件約束及其預設值的屬性包括:The properties that express these constraints and their default values are as follows:

如需詳細資訊,請參閱XmlDictionaryReaderQuotasFor more information, see XmlDictionaryReaderQuotas.

適用於