expression.WRQHostRecordSize As Integer
expression.WRQHostRecordSize As Integer
Exception | Description |
---|---|
ArgumentOutOfRangeException | Thrown if a value outside the range of valid values is specified. |
When you send an ASCII file, any records containing more than n bytes, where n is the value of WRQHostRecordSize, are split up into smaller records.
A host record size specified with an attribute argument to the WRQSendFile method takes precedence over the value of WRQHostRecordSize.
This property is relevant only for transfers that use the WRQ/Reflection protocol.
A value of 80 is standard for many text editors; 132 is appropriate for many printers. If you don't know what size to use for a particular host program, check other host files used by the same program.
The default value is 0. The default value specifies that host determines the record size for the host file. The range of values is 0 - 32,767.