SocketReceiveBufferSize Property

UdpTransportElement.SocketReceiveBufferSize Property

.NET Framework 4.6 and 4.5

Gets or sets the value of the receive buffer size in a UDP transport element.

Namespace:   System.ServiceModel.Configuration
Assembly:  System.ServiceModel.Channels (in System.ServiceModel.Channels.dll)

[ConfigurationPropertyAttribute("socketReceiveBufferSize", DefaultValue = 65536)]
[IntegerValidatorAttribute(MinValue = 1)]
public int SocketReceiveBufferSize { get; set; }

Property Value

Type: System.Int32

The receive buffer size on the underlying socket.

.NET Framework
Available since 4.5
Return to top
© 2015 Microsoft