共用方式為


WebHttpRelayBindingElement.MaxBufferSize Property

Definition

Gets or sets the maximum amount of memory that is allocated for use by the manager of the message buffers that receive messages from the channel.

[System.Configuration.ConfigurationProperty("maxBufferSize", DefaultValue=65536)]
[System.Configuration.IntegerValidator(MinValue=1)]
public int MaxBufferSize { get; set; }
[<System.Configuration.ConfigurationProperty("maxBufferSize", DefaultValue=65536)>]
[<System.Configuration.IntegerValidator(MinValue=1)>]
member this.MaxBufferSize : int with get, set
Public Property MaxBufferSize As Integer

Property Value

Returns the maximum amount of memory, in bytes, available for use by the message buffer manager. The default value is 524,288 (0x80000) bytes.

Attributes

Exceptions

The value set is less than or equal to zero.

Applies to