AMQPCTableField Type
Represents an AMQP 0.9.1 table field.
Remarks
This type represents an AMQP 0.9.1 table field.
Fields
Name String |
The table field's name. This field specifies the table field's name. The name must be an ASCII string that:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Value String |
The table field's value. This field specifies the table field's value. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ValueType AMQPCValueTypes |
The table field's value type. This field specifies the table field's value type (and thus, the format of the data in the Value field). Acceptable value types are:
Note: The fvtUlong (8) and fvtSstring (12) value types are not supported when the RabbitMQCompatible configuration setting is enabled. For the fvtArray (14) value type, the Value should be specified as a JSON array of type-value pairs; for example:
[ { "type": "int", "value": 23 }, { "type": "int", "value": -52 }, { "type": "int", "value": 153325 } ] For the fvtTable (16) value type, the Value should be specified as a JSON object containing name-type-value tuples; for example:
{ { "name": "Test1", "type": "long", "value": 12345678901234 }, { "name": "Test2", "type": "boolean", "value": "false" }, { "name": "Test3", "type": "string", "value": "This is a test." } } Notes regarding fvtArray (14) and fvtTable (16) type Values: |
Constructors
public AMQPCTableField();
Public AMQPCTableField()
public AMQPCTableField(string name, string value, int valueType);
Public AMQPCTableField(ByVal Name As String, ByVal Value As String, ByVal ValueType As Integer)