Share via


UdpTransportSettingsElement.MaxReceivedMessageSize 屬性

定義

取得或設定 UDP 傳輸組態項目的 MaxReceivedMessageSize 屬性值。

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

屬性值

可以由繫結處理之訊息的大小上限 (以位元組為單位)。

屬性

適用於