Correlation property
Gets or sets the correlation data of the application message. Read/write. Variant.
Syntax
msg
.Correlation
where
msg
- is an MQTTMessage object created by the MQTTFactory object's method CreateApplicationMessage
.
TIP:
This property's data type is Variant, however, it can only be assigned a byte array.
Example
Dim corrData() As Byte corrData = StrConv("This is the correlation.", vbFromUnicode) msg.correlation = corrData
Provide Feedback