NetTcpBindingElement.MaxReceivedMessageSize 屬性

定義

取得或設定可在使用此繫結所設定之通道上接收的訊息大小上限 (以位元組為單位)。

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

由此繫結處理之訊息的大小上限 (以位元組為單位)。 預設值為 65,536 位元組。

屬性

適用於