PeerTransportBindingElement.MaxReceivedMessageSize Property

 
System_CAPS_noteNote

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

Gets and sets the value that specifies the maximum size, in bytes, of messages sent over transport channels created by this binding element.

Namespace:   System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public override long MaxReceivedMessageSize { get; set; }

Property Value

Type: System.Int64

The maximum size of messages sent over transport channels created by this binding element.

The default message size is 65,536 bytes.

.NET Framework
Available since 3.0
Return to top
Show: