共用方式為


MessagingEndpointProperties Class

Definition

The properties of the messaging endpoints used by this IoT hub.

public class MessagingEndpointProperties
public class MessagingEndpointProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.IotHub.Models.MessagingEndpointProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.IotHub.Models.MessagingEndpointProperties>
type MessagingEndpointProperties = class
type MessagingEndpointProperties = class
    interface IJsonModel<MessagingEndpointProperties>
    interface IPersistableModel<MessagingEndpointProperties>
Public Class MessagingEndpointProperties
Public Class MessagingEndpointProperties
Implements IJsonModel(Of MessagingEndpointProperties), IPersistableModel(Of MessagingEndpointProperties)
Inheritance
MessagingEndpointProperties
Implements

Constructors

MessagingEndpointProperties()

Initializes a new instance of MessagingEndpointProperties.

Properties

LockDurationAsIso8601

The lock duration. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload.

MaxDeliveryCount

The number of times the IoT hub attempts to deliver a message. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload.

TtlAsIso8601

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-file-upload.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<MessagingEndpointProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<MessagingEndpointProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MessagingEndpointProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MessagingEndpointProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<MessagingEndpointProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to