Gets or sets constraints on the complexity of SOAP messages that can be processed by endpoints configured with this binding. This property cannot be null.
Assembly: Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
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:
MaxDepth = 32
MaxStringContentLength = 8192
MaxBytesPerRead = 4096
MaxnameTableCharCount = 16384
MaxBufferSize, MaxBufferPoolSize, , and MaxReceivedMessageSize are often used together 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 Security Considerations for Data in the WCF documentation.