NetPeerTcpBinding.MaxBufferPoolSize 屬性

定義

取得或設定對等 TCP 緩衝區所使用之記憶體集區大小上限 (位元組)。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

屬性值

Int64

Int32 值,指定記憶體中用於緩衝傳入訊息的位元組數目上限。A Int32 value that specifies the maximum number of bytes that are used to buffer incoming messages in memory. 預設值為 65,536 位元組。The default value is 65,536 bytes.

備註

MaxBufferPoolSize 的值不得小於 MaxReceivedMessageSize,後者的預設值也是 65536 位元組 (64 KB)。The value of MaxBufferPoolSize cannot be less than MaxReceivedMessageSize whose default value is 65536 bytes (64 KB).

適用於