Gets or sets xml reader quotas on the messages processed.
Assembly: Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
The reader quotas put constraints on the complexity of xml messages. The default values are:
MaxDepth = 32
MaxStringContentLength = 8192
MaxArrayLength = 16384
MaxBytesPerRead = 4096
MaxNameTableCharCount = 16384
is often used in conjunction with MaxReceivedMessageSize, MaxBufferPoolSize, and MaxBufferSize to assist with memory management and provide a potential defense against Denial-of-Service (DoS) attacks. In this context, these members are very similar to their WCF counterparts. For more information, see the Security Considerations for Data topic in the WCF documentation.