你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ConversationError Class

Definition

The error object.

public class ConversationError : System.ClientModel.Primitives.IJsonModel<Azure.AI.Language.Conversations.Models.ConversationError>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Language.Conversations.Models.ConversationError>
type ConversationError = class
    interface IJsonModel<ConversationError>
    interface IPersistableModel<ConversationError>
Public Class ConversationError
Implements IJsonModel(Of ConversationError), IPersistableModel(Of ConversationError)
Inheritance
ConversationError
Implements

Properties

Code

One of a server-defined set of error codes.

Details

An array of details about specific errors that led to this reported error.

Innererror

An object containing more specific information than the current object about the error.

Message

A human-readable representation of the error.

Target

The target of the error.

Explicit Interface Implementations

IJsonModel<ConversationError>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ConversationError>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ConversationError>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ConversationError>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ConversationError>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to