Modifier

Partager via


NetTcpBindingElement.MaxBufferPoolSize Property

Definition

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

public:
 property long MaxBufferPoolSize { long get(); void set(long value); };
[System.Configuration.ConfigurationProperty("maxBufferPoolSize", DefaultValue=524288)]
[System.Configuration.LongValidator(MinValue=0)]
public long MaxBufferPoolSize { get; set; }
[<System.Configuration.ConfigurationProperty("maxBufferPoolSize", DefaultValue=524288)>]
[<System.Configuration.LongValidator(MinValue=0)>]
member this.MaxBufferPoolSize : int64 with get, set
Public Property MaxBufferPoolSize As Long

Property Value

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

Attributes

Applies to