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


MessageInputImageUriBlock Class

Definition

An image-URL block in a new message, referencing an external image by URL.

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

Constructors

MessageInputImageUriBlock(MessageImageUriParam)

Initializes a new instance of MessageInputImageUriBlock.

Properties

ImageUrl

Information about the external image URL, including the URL 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<MessageInputImageUriBlock>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MessageInputImageUriBlock>.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<MessageInputImageUriBlock>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MessageInputImageUriBlock>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MessageInputImageUriBlock>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to