UdpTransportSettingsElement.MaxReceivedMessageSize 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置 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
属性值
绑定可以处理的消息的最大大小(以字节为单位)。
- 属性