SerialPortSettings..::..BaudRate Property
Gets or sets the serial baud rate.
Namespace:
CAS.Lib.CommonBus.CommunicationLayer.RSAssembly: CommServer.CommonBus (in CommServer.CommonBus.dll)
Syntax
[BrowsableAttribute] [CategoryAttribute] [DefaultValueAttribute] [DescriptionAttribute] [DisplayNameAttribute] public SerialPortSettings..::..BAUD_RATE BaudRate { get; set; }
<BrowsableAttribute> _ <CategoryAttribute> _ <DefaultValueAttribute> _ <DescriptionAttribute> _ <DisplayNameAttribute> _ Public Property BaudRate As SerialPortSettings..::..BAUD_RATE Get Set
[BrowsableAttribute] [CategoryAttribute] [DefaultValueAttribute] [DescriptionAttribute] [DisplayNameAttribute] public: property SerialPortSettings..::..BAUD_RATE^ BaudRate { SerialPortSettings..::..BAUD_RATE^ get (); void set (SerialPortSettings..::..BAUD_RATE^ value); }
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | The baud rate specified is less than or equal to zero, or is greater than the maximum allowable baud rate for the device. |
IOException | The port is in an invalid state. - or - An attempt to set the state of the underlying port failed. For example, the parameters passed from this System.IO.Ports.SerialPort object were invalid. |