FeedbackStatusCode Enum

Definition

Specifies the various feedback status codes for a cloud-to-device message sent to a device.

[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
public enum FeedbackStatusCode
[<Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))>]
type FeedbackStatusCode = 
Public Enum FeedbackStatusCode
Inheritance
FeedbackStatusCode
Attributes
Newtonsoft.Json.JsonConverterAttribute

Fields

DeliveryCountExceeded 2

Indicates that the cloud-to-device message has been placed in a dead-lettered state. This happens when the message reaches the maximum count for the number of times it can transition between enqueued and invisible states. For information on cloud-to-device message life cycle, see https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-messages-c2d#the-cloud-to-device-message-life-cycle.

Expired 1

Indicates that the cloud-to-device message expired before it could be delivered to the device. For information on cloud-to-device message life cycle, see https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-messages-c2d#the-cloud-to-device-message-life-cycle.

Purged 4

Indicates that the cloud-to-device message was purged from IoT Hub. For information on cloud-to-device message life cycle, see https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-messages-c2d#the-cloud-to-device-message-life-cycle.

Rejected 3

Indicates that the cloud-to-device message was rejected by the device. For information on cloud-to-device message life cycle, see https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-messages-c2d#the-cloud-to-device-message-life-cycle.

Success 0

Indicates that the cloud-to-device message was successfully delivered to the device. For information on cloud-to-device message life cycle, see https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-messages-c2d#the-cloud-to-device-message-life-cycle.

Applies to