Sdílet prostřednictvím


Message.Ack Property

Definition

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.

Applies to