Sprog

ArmIotHubModelFactory.CloudToDeviceFeedbackQueueProperties Method

Definition

The properties of the feedback queue for cloud-to-device messages.

public static Azure.ResourceManager.IotHub.Models.CloudToDeviceFeedbackQueueProperties CloudToDeviceFeedbackQueueProperties(TimeSpan? lockDurationAsIso8601 = default, TimeSpan? ttlAsIso8601 = default, int? maxDeliveryCount = default);
static member CloudToDeviceFeedbackQueueProperties : Nullable<TimeSpan> * Nullable<TimeSpan> * Nullable<int> -> Azure.ResourceManager.IotHub.Models.CloudToDeviceFeedbackQueueProperties
Public Shared Function CloudToDeviceFeedbackQueueProperties (Optional lockDurationAsIso8601 As Nullable(Of TimeSpan) = Nothing, Optional ttlAsIso8601 As Nullable(Of TimeSpan) = Nothing, Optional maxDeliveryCount As Nullable(Of Integer) = Nothing) As CloudToDeviceFeedbackQueueProperties

Parameters

lockDurationAsIso8601
Nullable<TimeSpan>

The lock duration for the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages.

ttlAsIso8601
Nullable<TimeSpan>

The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages.

maxDeliveryCount
Nullable<Int32>

The number of times the IoT hub attempts to deliver a message on the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages.

Returns

A new CloudToDeviceFeedbackQueueProperties instance for mocking.

Applies to