SerialPort::WriteBufferSize Property
.NET Framework (current version)
Gets or sets the size of the serial port output buffer.
Assembly: System (in System.dll)
public: [BrowsableAttribute(true)] property int WriteBufferSize { int get(); void set(int value); }
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The WriteBufferSize value is less than or equal to zero. |
| InvalidOperationException | The WriteBufferSize property was set while the stream was open. |
| IOException | The WriteBufferSize property was set to an odd integer value. |
The WriteBufferSize property ignores any value smaller than 2048.
.NET Framework
Available since 2.0
Available since 2.0
Show: