NetPeerTcpBinding.MaxBufferPoolSize Property


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

Namespace:   System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public long MaxBufferPoolSize { get; set; }

Property Value

Type: System.Int64

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.

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

.NET Framework
Available since 3.0
Return to top