MessageExpiryInterval property
Gets or sets the message expiry interval of the application message. Read/write. Double.
Syntax
msg
.MessageExpiryInterval
where
msg
- is an MQTTMessage object created by the MQTTFactory object's method CreateApplicationMessage
.Default value
If this property is omitted, it will use its default value, which is 0 seconds, meaning the message expires and is discarded as soon as it is published to the broker.
Provide Feedback