Message.Ack Property
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.
Used in cloud-to-device messages to request IoT hub to generate feedback messages as a result of the consumption of the message by the device.
public Microsoft.Azure.Devices.DeliveryAcknowledgement Ack { get; set; }
member this.Ack : Microsoft.Azure.Devices.DeliveryAcknowledgement with get, set
Public Property Ack As DeliveryAcknowledgement
Property Value
Remarks
Possible values:
none (default): no feedback message is generated.
positive: receive a feedback message if the message was completed.
negative: receive a feedback message if the message expired (or maximum delivery count was reached) without being completed by the device.
full: both positive and negative.
In order to receive feedback messages on the service client, use MessageFeedback.