The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
TransportBindingElement::MaxReceivedMessageSize Property
.NET Framework (current version)
Gets and sets the maximum allowable message size, in bytes, that can be received.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
public: property long long MaxReceivedMessageSize { virtual long long get(); virtual void set(long long value); }
Property Value
Type: System::Int64The maximum allowable message size that can be received. The default is 65,536 bytes.
This property can counter a hacker scenario where a message is sent with a very large or infinite specified length, or where data is sent continuously to a connected Named Pipe.
Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: