Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ServicePoint.ReceiveBufferSize Property

Note: This property is new in the .NET Framework version 2.0.

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

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

'Declaration
Public Property ReceiveBufferSize As Integer
'Usage
Dim instance As ServicePoint
Dim value As Integer

value = instance.ReceiveBufferSize

instance.ReceiveBufferSize = value
/** @property */
public int get_ReceiveBufferSize ()

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

public function get ReceiveBufferSize () : int

public function set ReceiveBufferSize (value : int)

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 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show:
© 2015 Microsoft