ConnectionOrientedTransportBindingElement.ConnectionBufferSize Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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 (in System.ServiceModel.dll)

public int ConnectionBufferSize { get; set; }

Property Value

Type: System.Int32

The size of the connection buffer. The default value is 8192 bytes.

Exception Condition

The value is less than zero.

This value can be changed to provide better throughput based on average message sizes and exchange patterns.

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Available since 4.0
Return to top