Edit

Share via


PeerTransportElement.MaxReceivedMessageSize Property

Definition

Gets or sets a configuration element that specifies the maximum size, in bytes, for TCP messages received by the peer binding.

public:
 property long MaxReceivedMessageSize { long get(); void set(long value); };
[System.Configuration.ConfigurationProperty("maxReceivedMessageSize", DefaultValue=65536)]
[System.Configuration.LongValidator(MinValue=1)]
public long MaxReceivedMessageSize { get; set; }
[<System.Configuration.ConfigurationProperty("maxReceivedMessageSize", DefaultValue=65536)>]
[<System.Configuration.LongValidator(MinValue=1)>]
member this.MaxReceivedMessageSize : int64 with get, set
Public Property MaxReceivedMessageSize As Long

Property Value

A Int64 value that specifies the maximum size in bytes of TCP messages received over the peer channels created by this binding. The default value is 65,536 (64 KB).

Attributes

Applies to