Adds the given field with the given value.
Declaration Syntax
Remarks
Calling AddField more than once with the same fieldName does not update the field; it will cause multiple instances of the field with this name to be added to the message. To update the field use the [] operator.
Exceptions
Exception | Condition |
---|---|
UnknownFieldException | Raised when the fieldName is not defined in the DataSource.NET configuration. |