ReceiveBufferSize Property

ServicePoint.ReceiveBufferSize Property

 

Gets or sets the size of the receiving buffer for the socket used by this ServicePoint.

Namespace:   System.Net
Assembly:  System (in System.dll)

member ReceiveBufferSize : int with get, set

Property Value

Type: System.Int32

A Int32 that contains the size, in bytes, of the receive buffer. The default is 8192.

Exception Condition
ArgumentOutOfRangeException

The value specified for a set operation is greater than MaxValue.

For additional information, see ReceiveBufferSize.

The following code example sets the value of this property.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft