다음을 통해 공유


ErrorResponse Class

Definition

Error response information.

public class ErrorResponse : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.MachineLearningCompute.Models.ErrorResponse>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.MachineLearningCompute.Models.ErrorResponse>
type ErrorResponse = class
    interface IJsonModel<ErrorResponse>
    interface IPersistableModel<ErrorResponse>
Public Class ErrorResponse
Implements IJsonModel(Of ErrorResponse), IPersistableModel(Of ErrorResponse)
Inheritance
ErrorResponse
Implements

Properties

Code

Error code.

Details

An array of error detail objects.

Message

Error message.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ErrorResponse>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ErrorResponse>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ErrorResponse>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ErrorResponse>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ErrorResponse>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to