Sdílet prostřednictvím


MessageTemplateBindings Class

Definition

The binding object to link values to the template specific locations Please note MessageTemplateBindings is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include WhatsAppMessageTemplateBindings.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.Communication.Messages.UnknownMessageTemplateBindings))]
public abstract class MessageTemplateBindings : System.ClientModel.Primitives.IJsonModel<Azure.Communication.Messages.MessageTemplateBindings>, System.ClientModel.Primitives.IPersistableModel<Azure.Communication.Messages.MessageTemplateBindings>
public abstract class MessageTemplateBindings
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.Communication.Messages.UnknownMessageTemplateBindings))>]
type MessageTemplateBindings = class
    interface IJsonModel<MessageTemplateBindings>
    interface IPersistableModel<MessageTemplateBindings>
type MessageTemplateBindings = class
Public MustInherit Class MessageTemplateBindings
Implements IJsonModel(Of MessageTemplateBindings), IPersistableModel(Of MessageTemplateBindings)
Public MustInherit Class MessageTemplateBindings
Inheritance
MessageTemplateBindings
Derived
Attributes
Implements

Constructors

MessageTemplateBindings()

Initializes a new instance of MessageTemplateBindings.

Explicit Interface Implementations

IJsonModel<MessageTemplateBindings>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MessageTemplateBindings>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MessageTemplateBindings>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MessageTemplateBindings>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MessageTemplateBindings>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to