Share via


HttpSelfHostConfiguration.MaxBufferSize Property

Gets or sets the maximum size of the buffer.

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

Syntax

'Declaration
Public Property MaxBufferSize As Integer
    Get
    Set
'Usage
Dim instance As HttpSelfHostConfiguration
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 size of the buffer.

See Also

Reference

HttpSelfHostConfiguration Class

System.Web.Http.SelfHost Namespace