CreateUserProperty method
Creates an MQTT user property.
Syntax
Set
userProperty
= MqttFactory
.CreateUserProperty
()where
userProperty
- is the name of an MQTTUserProperty object or an expression that evaluates to an MQTTUserProperty object.MqttFactory
- is an MQTTFactory object created by Application.CreateMQTT()
.Remarks
MQTT version 5.0 allows clients and servers to add an unlimited number of customized string key-value pairs as metadata to all control messages except PING messages to provide better scalability.
User properties can be passed between the client and the server, or between the client and the client, depending on the specific control message type.
Provide Feedback