Share via


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

Name Value Description
Success 0

Indicates that the cloud-to-device message was successfully delivered to the device.

Expired 1

Indicates that the cloud-to-device message expired before it could be delivered to the device.

DeliveryCountExceeded 2

Indicates that the cloud-to-device message has been placed in a dead-lettered state.

Rejected 3

Indicates that the cloud-to-device message was rejected by the device.

Purged 4

Indicates that the cloud-to-device message was purged from IoT hub.

Applies to