Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the CloudToDeviceProperties class.
 /// </summary>
 /// <param name="maxDeliveryCount">The max delivery count for
 /// cloud-to-device messages in the device queue. See:
 /// https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages.</param>
 /// <param name="defaultTtlAsIso8601">The default time to live for
 /// cloud-to-device messages in the device queue. See:
 /// https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages.</param>
 public CloudToDeviceProperties(int?maxDeliveryCount = default(int?), System.TimeSpan?defaultTtlAsIso8601 = default(System.TimeSpan?), FeedbackProperties feedback = default(FeedbackProperties))
 {
     MaxDeliveryCount    = maxDeliveryCount;
     DefaultTtlAsIso8601 = defaultTtlAsIso8601;
     Feedback            = feedback;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the CloudToDeviceProperties class.
 /// </summary>
 public CloudToDeviceProperties(int?maxDeliveryCount = default(int?), TimeSpan?defaultTtlAsIso8601 = default(TimeSpan?), FeedbackProperties feedback = default(FeedbackProperties))
 {
     MaxDeliveryCount    = maxDeliveryCount;
     DefaultTtlAsIso8601 = defaultTtlAsIso8601;
     Feedback            = feedback;
 }