QualityOfService Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The policy for which a particular message will be sent over MQTT.
public enum QualityOfService
type QualityOfService =
Public Enum QualityOfService
- Inheritance
-
QualityOfService
Fields
Name | Value | Description |
---|---|---|
AtMostOnce | 0 | The message will be sent once. It will not be resent under any circumstances. |
AtLeastOnce | 1 | The message will be sent once, but will be resent if the service fails to acknowledge the message. |
Remarks
Note that IoT hub does not support QoS 2.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET