WebScriptEndpointElement.MaxReceivedMessageSize Property

.NET Framework (current version)
 

Gets or sets the maximum byte size of messages received by a WebScriptEndpoint.

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

The maximum byte size.

.NET Framework
Available since 4.0
Return to top
Show: