Share via


BrokerRetainMessagesCustomPolicy Class

Definition

Custom Broker Retain Message Policy.

public class BrokerRetainMessagesCustomPolicy : Azure.ResourceManager.IotOperations.Models.BrokerRetainMessagesPolicy, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.IotOperations.Models.BrokerRetainMessagesCustomPolicy>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.IotOperations.Models.BrokerRetainMessagesCustomPolicy>
type BrokerRetainMessagesCustomPolicy = class
    inherit BrokerRetainMessagesPolicy
    interface IJsonModel<BrokerRetainMessagesCustomPolicy>
    interface IPersistableModel<BrokerRetainMessagesCustomPolicy>
Public Class BrokerRetainMessagesCustomPolicy
Inherits BrokerRetainMessagesPolicy
Implements IJsonModel(Of BrokerRetainMessagesCustomPolicy), IPersistableModel(Of BrokerRetainMessagesCustomPolicy)
Inheritance
BrokerRetainMessagesCustomPolicy
Implements

Constructors

Name Description
BrokerRetainMessagesCustomPolicy(BrokerRetainMessagesSettings)

Initializes a new instance of BrokerRetainMessagesCustomPolicy.

Properties

Name Description
RetainSettings

Settings for the policy.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<BrokerRetainMessagesCustomPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BrokerRetainMessagesCustomPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<BrokerRetainMessagesPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from BrokerRetainMessagesPolicy)
IJsonModel<BrokerRetainMessagesPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from BrokerRetainMessagesPolicy)
IPersistableModel<BrokerRetainMessagesCustomPolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BrokerRetainMessagesCustomPolicy>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BrokerRetainMessagesCustomPolicy>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<BrokerRetainMessagesPolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from BrokerRetainMessagesPolicy)
IPersistableModel<BrokerRetainMessagesPolicy>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from BrokerRetainMessagesPolicy)
IPersistableModel<BrokerRetainMessagesPolicy>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from BrokerRetainMessagesPolicy)

Applies to