SALES: 1-800-867-1380

NetOnewayRelayBinding.MaxReceivedMessageSize Property

 

Gets or sets the maximum size for a received message that is processed by the binding.

Namespace:   Microsoft.ServiceBus
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

Public Property MaxReceivedMessageSize As Long

Property Value

Type: System.Int64

Returns the maximum size, in bytes, for a received message that is processed by the binding. The default value is 65,536 bytes.

MaxBufferSize, MaxBufferPoolSize, ReaderQuotas 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 the a7eb98da-4a93-4692-8b59-9d670c79ffb2 topic in the WCF documentation.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2016 Microsoft