Condividi tramite


QualityOfService Enum

Definition

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