Поделиться через


MessageInputImageFileBlock Class

Definition

An image-file block in a new message, referencing an internally uploaded image by file ID.

public class MessageInputImageFileBlock : Azure.AI.Agents.Persistent.MessageInputContentBlock, System.ClientModel.Primitives.IJsonModel<Azure.AI.Agents.Persistent.MessageInputImageFileBlock>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Agents.Persistent.MessageInputImageFileBlock>
type MessageInputImageFileBlock = class
    inherit MessageInputContentBlock
    interface IJsonModel<MessageInputImageFileBlock>
    interface IPersistableModel<MessageInputImageFileBlock>
Public Class MessageInputImageFileBlock
Inherits MessageInputContentBlock
Implements IJsonModel(Of MessageInputImageFileBlock), IPersistableModel(Of MessageInputImageFileBlock)
Inheritance
MessageInputImageFileBlock
Implements

Constructors

MessageInputImageFileBlock(MessageImageFileParam)

Initializes a new instance of MessageInputImageFileBlock.

Properties

ImageFile

Information about the referenced image file, including file ID and optional detail level.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<MessageInputContentBlock>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from MessageInputContentBlock)
IJsonModel<MessageInputImageFileBlock>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MessageInputImageFileBlock>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MessageInputContentBlock>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from MessageInputContentBlock)
IPersistableModel<MessageInputImageFileBlock>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MessageInputImageFileBlock>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MessageInputImageFileBlock>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to