Export (0) Print
Expand All

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)

public:
property int ReceiveBufferSize {
	int get ();
	void set (int value);
}
/** @property */
public int get_ReceiveBufferSize ()

/** @property */
public void set_ReceiveBufferSize (int value)

public function get ReceiveBufferSize () : int

public function set ReceiveBufferSize (value : int)

Not applicable.

Property Value

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

Exception typeCondition

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.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft