MaxReceivedMessageSize Property

NetTcpBindingElement.MaxReceivedMessageSize Property

 

Gets or sets the maximum size, in bytes, of a message 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 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
Return to top
Show:
© 2016 Microsoft