Condividi tramite


ErrorResponseBody Class

Definition

Error Body contract.

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

Constructors

ErrorResponseBody()

Initializes a new instance of ErrorResponseBody.

Properties

Code

Service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response.

Details

The list of invalid fields send in request, in case of validation error.

Message

Human-readable representation of the error.

Explicit Interface Implementations

IJsonModel<ErrorResponseBody>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ErrorResponseBody>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ErrorResponseBody>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ErrorResponseBody>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ErrorResponseBody>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to