你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

WSHttpRelayBindingBaseElement.MaxReceivedMessageSize 属性

定义

获取或设置在配置了 WSHttpRelayBinding 绑定的通道上接收的消息的最大大小。

[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

属性值

在配置了 WSHttpRelayBinding 绑定的通道上接收的消息的最大大小。 默认值为 65536 字节。

属性

适用于