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)

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

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: