Edytuj

Udostępnij za pośrednictwem


ConnectionOrientedTransportBindingElement.ConnectionBufferSize Property

Definition

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.

public:
 property int ConnectionBufferSize { int get(); void set(int value); };
public int ConnectionBufferSize { get; set; }
member this.ConnectionBufferSize : int with get, set
Public Property ConnectionBufferSize As Integer

Property Value

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

Exceptions

The value is less than zero.

Remarks

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

Applies to