ConnectionOrientedTransportBindingElement::ConnectionBufferSize Property

 

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:
property int ConnectionBufferSize {
	int get();
	void set(int value);
}

Property Value

Type: System::Int32

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

Exception Condition
ArgumentOutOfRangeException

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
Silverlight
Available since 4.0
Return to top
Show: