Επεξεργασία

Κοινή χρήση μέσω


PeerTransportElement.MaxBufferPoolSize Property

Definition

Gets or sets a configuration element that specifies the maximum size of the TCP message buffer pool, in bytes.

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

Property Value

A Int64 that specifies the maximum size of the TCP message buffer pool, in bytes. The default value is 524,288 bytes.

Attributes

Remarks

If you receive more data than you can buffer, the data that exceeds the buffer size remains on the underlying socket until your buffer has room for the rest of the data.

Applies to