KnowledgeBaseMessageContent 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.
Specifies the type of the message content. Please note this is the abstract base class. The derived classes available for instantiation are: KnowledgeBaseMessageTextContent and KnowledgeBaseMessageImageContent.
[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.Search.Documents.KnowledgeBases.Models.UnknownKnowledgeBaseMessageContent))]
public abstract class KnowledgeBaseMessageContent : System.ClientModel.Primitives.IJsonModel<Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseMessageContent>, System.ClientModel.Primitives.IPersistableModel<Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseMessageContent>
[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.Search.Documents.Models.UnknownKnowledgeBaseMessageContent))]
public abstract class KnowledgeBaseMessageContent : System.ClientModel.Primitives.IJsonModel<Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseMessageContent>, System.ClientModel.Primitives.IPersistableModel<Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseMessageContent>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.Search.Documents.KnowledgeBases.Models.UnknownKnowledgeBaseMessageContent))>]
type KnowledgeBaseMessageContent = class
interface IJsonModel<KnowledgeBaseMessageContent>
interface IPersistableModel<KnowledgeBaseMessageContent>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.Search.Documents.Models.UnknownKnowledgeBaseMessageContent))>]
type KnowledgeBaseMessageContent = class
interface IJsonModel<KnowledgeBaseMessageContent>
interface IPersistableModel<KnowledgeBaseMessageContent>
Public MustInherit Class KnowledgeBaseMessageContent
Implements IJsonModel(Of KnowledgeBaseMessageContent), IPersistableModel(Of KnowledgeBaseMessageContent)
- Inheritance
-
KnowledgeBaseMessageContent
- Derived
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| KnowledgeBaseMessageContent() |
Initializes a new instance of KnowledgeBaseMessageContent. |
Methods
Explicit Interface Implementations
| Name | Description |
|---|---|
| IJsonModel<KnowledgeBaseMessageContent>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
| IJsonModel<KnowledgeBaseMessageContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
| IPersistableModel<KnowledgeBaseMessageContent>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
| IPersistableModel<KnowledgeBaseMessageContent>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
| IPersistableModel<KnowledgeBaseMessageContent>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |