ConnectionOrientedTransportBindingElement.ConnectionBufferSize Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the size of the buffer used to transmit a chunk of the serialized message on the wire from the client or service.

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

Syntax

'Declaration
Public Property ConnectionBufferSize As Integer
public int ConnectionBufferSize { get; set; }

Property Value

Type: System.Int32
The size of the connection buffer. The default value is 8192 bytes.

Exceptions

Exception Condition
ArgumentOutOfRangeException

value set is less than zero.

Version Information

Silverlight

Supported in: 5, 4

Platforms

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