NetTcpBindingElement::MaxReceivedMessageSize Property
.NET Framework (current version)
Gets or sets the maximum size, in bytes, of a message that can be received on a channel configured with this binding.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
public: [ConfigurationPropertyAttribute("maxReceivedMessageSize", DefaultValue = 65536)] [LongValidatorAttribute(MinValue = 1)] property long long MaxReceivedMessageSize { long long get(); void set(long long value); }
Property Value
Type: System::Int64The maximum size, in bytes, of a message that is processed by this binding. The default value is 65,536 bytes.
.NET Framework
Available since 3.0
Available since 3.0
Show: