TransportElement.MaxReceivedMessageSize 属性
定义
获取或设置能接收的最大可允许消息大小(以字节为单位)。Gets or sets the maximum allowable message size, in bytes, that can be received.
public:
property long MaxReceivedMessageSize { long get(); void set(long value); };
[System.Configuration.ConfigurationProperty("maxReceivedMessageSize", DefaultValue=Mono.Cecil.CustomAttributeArgument)]
[System.Configuration.LongValidator(MinValue=1)]
public long MaxReceivedMessageSize { get; set; }
[<System.Configuration.ConfigurationProperty("maxReceivedMessageSize", DefaultValue=Mono.Cecil.CustomAttributeArgument)>]
[<System.Configuration.LongValidator(MinValue=1)>]
member this.MaxReceivedMessageSize : int64 with get, set
Public Property MaxReceivedMessageSize As Long
属性值
允许接收的最大消息大小。The maximum allowable message size that can be received.
- 属性