WebHttpEndpointElement.MaxReceivedMessageSize Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the maximum number of messages that can be received by the web service.

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

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

Property Value

Type: System.Int64

A 64-bit number representing a maximum quantity.

.NET Framework
Available since 4.0
Return to top