Editar

Compartilhar via


NetPeerTcpBinding.MaxBufferPoolSize Property

Definition

Gets or sets the maximum size, in bytes, of the memory pool used for the peer TCP buffer.

public:
 property long MaxBufferPoolSize { long get(); void set(long value); };
public long MaxBufferPoolSize { get; set; }
member this.MaxBufferPoolSize : int64 with get, set
Public Property MaxBufferPoolSize As Long

Property Value

A Int32 value that specifies the maximum number of bytes that are used to buffer incoming messages in memory. The default value is 65,536 bytes.

Remarks

The value of MaxBufferPoolSize cannot be less than MaxReceivedMessageSize whose default value is 65536 bytes (64 KB).

Applies to