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.
NetTcpBinding::MaxReceivedMessageSize Property
.NET Framework (current version)
Gets or sets the maximum size, in bytes, for a received message that is processed by the binding.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
public: property long long MaxReceivedMessageSize { long long get(); void set(long long value); }
Property Value
Type: System::Int64The maximum size (in bytes) for a received message that is processed by the binding. The default value is 65,536 bytes.
This example shows how to get the MaxReceivedMessageSize value.
long MaxReceivedMessageSize = binding.MaxReceivedMessageSize;
Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Show: