HttpBindingBaseElement.MaxReceivedMessageSize Property

.NET Framework (current version)
 

Gets or sets the maximum size for a message that can be processed by the 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 for a message that can be processed by the binding.

.NET Framework
Available since 4.5
Return to top
Show: