Share via


CommunicationContact Class

Definition

Communication Contact.

public class CommunicationContact : Azure.Communication.Messages.ConversationContact, System.ClientModel.Primitives.IJsonModel<Azure.Communication.Messages.CommunicationContact>, System.ClientModel.Primitives.IPersistableModel<Azure.Communication.Messages.CommunicationContact>
type CommunicationContact = class
    inherit ConversationContact
    interface IJsonModel<CommunicationContact>
    interface IPersistableModel<CommunicationContact>
Public Class CommunicationContact
Inherits ConversationContact
Implements IJsonModel(Of CommunicationContact), IPersistableModel(Of CommunicationContact)
Inheritance
CommunicationContact
Implements

Constructors

CommunicationContact(String)

Initializes a new instance of CommunicationContact.

Properties

Id

External platform identifier.

(Inherited from ConversationContact)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CommunicationContact>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CommunicationContact>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<ConversationContact>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from ConversationContact)
IPersistableModel<CommunicationContact>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CommunicationContact>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CommunicationContact>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<ConversationContact>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from ConversationContact)

Applies to