NetNamedPipeBindingElement.MaxReceivedMessageSize Property


Gets and sets the maximum allowable message size, in bytes, that can be received on a channel configured with this binding.

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

[ConfigurationPropertyAttribute("maxReceivedMessageSize", DefaultValue = 65536)]
[LongValidatorAttribute(MinValue = 1)]
public long MaxReceivedMessageSize { get; set; }

Property Value

Type: System.Int64

The maximum allowable message size that is processed by the binding. The default value is 65,536 bytes.

.NET Framework
Available since 3.0
Return to top