NetTcpBindingElement.MaxBufferPoolSize Property


Gets or sets the maximum size, in bytes, for a buffer pool that stores TCP messages processed by the binding.

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

[ConfigurationPropertyAttribute("maxBufferPoolSize", DefaultValue = 524288)]
[LongValidatorAttribute(MinValue = 0)]
public long MaxBufferPoolSize { get; set; }

Property Value

Type: System.Int64

The maximum size (in bytes) used to buffer incoming messages in memory. The default value is 65,536 bytes.

.NET Framework
Available since 3.0
Return to top