Share via


EventHubConnectionOptions.ReceiveBufferSizeInBytes Property

Definition

The size of the buffer used for receiving information via the active transport.

public int ReceiveBufferSizeInBytes { get; set; }
member this.ReceiveBufferSizeInBytes : int with get, set
Public Property ReceiveBufferSizeInBytes As Integer

Property Value

The size of the buffer, in bytes. The default value is -1, which instructs the transport to use the host's default buffer size.

Remarks

This value is used to configure the ReceiveBufferSize used by the active transport. It is recommended that the host's default buffer size be used unless there is a specific application scenario that requires it to be adjusted and the new value has been tested thoroughly.

Applies to