ConnectionOrientedTransportBindingElement.MaxBufferSize Property

Gets or sets the maximum size of the buffer to use.

Namespace:  System.ServiceModel.Channels
Assembly:  System.ServiceModel.NetTcp (in System.ServiceModel.NetTcp.dll)

public int MaxBufferSize { get; set; }

Property Value

Type: System.Int32
The maximum number of bytes that is used to buffer incoming messages in memory. The default value is 65,536 bytes.


value set is less or equal to than zero.

If the value specified is greater than 2147483647 bytes, the value is set to 2147483647 bytes.


Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions