Share via


HttpBinding.MaxBufferSize Property

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.

Namespace:  System.Web.Http.SelfHost.Channels
Assembly:  System.Web.Http.SelfHost (in System.Web.Http.SelfHost.dll)

Syntax

'Declaration
Public Property MaxBufferSize As Integer
    Get
    Set
'Usage
Dim instance As HttpBinding
Dim value As Integer

value = instance.MaxBufferSize

instance.MaxBufferSize = value
public int MaxBufferSize { get; set; }
public:
property int MaxBufferSize {
    int get ();
    void set (int value);
}
member MaxBufferSize : int with get, set
function get MaxBufferSize () : int
function set MaxBufferSize (value : int)

Property Value

Type: System.Int32
The maximum buffer size.

See Also

Reference

HttpBinding Class

System.Web.Http.SelfHost.Channels Namespace