NetPeerTcpBindingElement.MaxReceivedMessageSize 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
接收或設定由配置此元素的對等 TCP 綁定所接收訊息的最大大小(以位元組為單位)。
public:
property long MaxReceivedMessageSize { long get(); void set(long value); };
[System.Configuration.ConfigurationProperty("maxReceivedMessageSize", DefaultValue=65536)]
[System.Configuration.LongValidator(MinValue=16384)]
public long MaxReceivedMessageSize { get; set; }
[<System.Configuration.ConfigurationProperty("maxReceivedMessageSize", DefaultValue=65536)>]
[<System.Configuration.LongValidator(MinValue=16384)>]
member this.MaxReceivedMessageSize : int64 with get, set
Public Property MaxReceivedMessageSize As Long
屬性值
Int32 該系統指定了以此元素配置的對等 TCP 綁定所接收訊息的最大大小。
- 屬性
備註
預設最大訊息大小為 65,536 位元組。