ByteStreamMessageEncodingBindingElement.ReaderQuotas 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定對可由端點處理的 XML 訊息複雜度設限,這些訊息由配置使用此綁定元素。
public:
property System::Xml::XmlDictionaryReaderQuotas ^ ReaderQuotas { System::Xml::XmlDictionaryReaderQuotas ^ get(); void set(System::Xml::XmlDictionaryReaderQuotas ^ value); };
public System.Xml.XmlDictionaryReaderQuotas ReaderQuotas { get; set; }
member this.ReaderQuotas : System.Xml.XmlDictionaryReaderQuotas with get, set
Public Property ReaderQuotas As XmlDictionaryReaderQuotas
屬性值
SOAP 訊息交換的複雜度限制。 這些約束的預設值已在以下備註章節提供。
備註
複雜度限制可防止一類試圖利用訊息複雜度來佔用終端處理資源的阻斷服務(DOS)攻擊。 表達這些限制及其預設值的屬性如下列表所示:
MaxDepth = 32
MaxStringContentLength = 8192
MaxArrayLength = 16384
MaxBytesPerRead = 4096
MaxNameTableCharCount = 16384