Delen via


MessageDeltaTextContent Class

Definition

Represents a streamed text content part within a streaming message delta chunk.

public class MessageDeltaTextContent : Azure.AI.Projects.MessageDeltaContent, System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.MessageDeltaTextContent>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.MessageDeltaTextContent>
type MessageDeltaTextContent = class
    inherit MessageDeltaContent
    interface IJsonModel<MessageDeltaTextContent>
    interface IPersistableModel<MessageDeltaTextContent>
Public Class MessageDeltaTextContent
Inherits MessageDeltaContent
Implements IJsonModel(Of MessageDeltaTextContent), IPersistableModel(Of MessageDeltaTextContent)
Inheritance
MessageDeltaTextContent
Implements

Properties

Index

The index of the content part of the message.

(Inherited from MessageDeltaContent)
Text

The text content details.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<MessageDeltaContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from MessageDeltaContent)
IJsonModel<MessageDeltaTextContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MessageDeltaTextContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MessageDeltaContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from MessageDeltaContent)
IPersistableModel<MessageDeltaTextContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MessageDeltaTextContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MessageDeltaTextContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to