CloudToDeviceProperties Class
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.
The IoT hub cloud-to-device messaging properties.
public class CloudToDeviceProperties
public class CloudToDeviceProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.IotHub.Models.CloudToDeviceProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.IotHub.Models.CloudToDeviceProperties>
type CloudToDeviceProperties = class
type CloudToDeviceProperties = class
interface IJsonModel<CloudToDeviceProperties>
interface IPersistableModel<CloudToDeviceProperties>
Public Class CloudToDeviceProperties
Public Class CloudToDeviceProperties
Implements IJsonModel(Of CloudToDeviceProperties), IPersistableModel(Of CloudToDeviceProperties)
- Inheritance
-
CloudToDeviceProperties
- Implements
Constructors
CloudToDeviceProperties() |
Initializes a new instance of CloudToDeviceProperties. |
Properties
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. |
Feedback |
The properties of the feedback queue for cloud-to-device messages. |
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. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<CloudToDeviceProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<CloudToDeviceProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<CloudToDeviceProperties>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<CloudToDeviceProperties>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<CloudToDeviceProperties>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |