FastInfoset.NET Class Reference for .NET
ReaderQuotas Property (FiMessageEncodingElement)






Gets or sets constraints on the complexity of XML messages that can be processed by endpoints configured with this binding element.
Syntax
'Declaration
 
<System.Configuration.ConfigurationPropertyAttribute(Name="readerQuotas", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=False, 
   IsRequired=False, 
   IsKey=False)>
Protected Property ReaderQuotas As System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement
'Usage
 
Dim instance As FiMessageEncodingElement
Dim value As System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement
 
instance.ReaderQuotas = value
 
value = instance.ReaderQuotas
[System.Configuration.ConfigurationProperty(Name="readerQuotas", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=false, 
   IsRequired=false, 
   IsKey=false)]
protected System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement ReaderQuotas {get; set;}
protected read-write property ReaderQuotas: System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement; 
System.Configuration.ConfigurationPropertyAttribute(Name="readerQuotas", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=, 
   IsRequired=, 
   IsKey=)
protected function get,set ReaderQuotas : System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement
[System.Configuration.ConfigurationProperty(Name="readerQuotas", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=false, 
   IsRequired=false, 
   IsKey=false)]
protected: __property System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement* get_ReaderQuotas();
protected: __property void set_ReaderQuotas( 
   System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement* value
);
[System.Configuration.ConfigurationProperty(Name="readerQuotas", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=false, 
   IsRequired=false, 
   IsKey=false)]
protected:
property System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement^ ReaderQuotas {
   System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement^ get();
   void set (    System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement^ value);
}
Remarks

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:

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

FiMessageEncodingElement Class
FiMessageEncodingElement Members

Send Feedback