NetTcpBindingElement::MaxBufferSize Property
.NET Framework (current version)
Gets or sets a value that specifies the maximum size, in bytes, of the buffer used to store messages in memory.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
public: [ConfigurationPropertyAttribute("maxBufferSize", DefaultValue = 65536)] [IntegerValidatorAttribute(MinValue = 1)] property int MaxBufferSize { int get(); void set(int value); }
Property Value
Type: System::Int32The maximum size, in bytes, of the buffer used to store messages in memory. The default is 65536.
If the buffer is full, excess data remains in the underlying socket until the buffer has space again.
This value cannot be less than MaxReceivedMessageSize, whose default value is also 65,536 (64 KB).
.NET Framework
Available since 3.0
Available since 3.0
Show: