ConnectionOrientedTransportBindingElement.MaxBufferSize Property
Gets or sets the maximum size of the buffer to use.
Namespace: Microsoft.ServiceBus.Channels
Assembly: Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
For streamed messages this property only applies to the message headers; for buffered messages it applies to the entire message.
The value of this property must be less than or equal to MaxRecievedMessageSize and must be larger than the size of the headers of the message or the channel throws an exception.
If you receive more data than you can buffer the channel throws a CommunicationException, which contains a QuotaExceededException as an inner exception.