共用方式為


PeerTransportElement.MaxReceivedMessageSize 屬性

定義

取得或設定組態項目,指定對等繫結所接收 TCP 訊息的大小上限,以位元組為單位。

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

屬性值

Int64

Int64 值,指定 TCP 訊息大小上限 (以位元組為單位),這些訊息是透過這個繫結所建立的對等通道來接收。 預設值為 65,536 (64 KB)。

屬性

適用於