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 字节。

属性

适用于