Windows apps
Collapse the table of content
Expand the table of content
Information
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.

PeerTransportBindingElement::MaxReceivedMessageSize Property

 

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:
property long long MaxReceivedMessageSize {
	virtual long long get() override;
	virtual void set(long long value) override;
}

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:
© 2017 Microsoft