Share via


ODataError Class

Definition

Error information in OData format.

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

Properties

Code

The machine-readable description of the error, such as 'InvalidRequest' or 'InternalServerError'.

Details

Inner errors that caused this error.

Message

The human-readable description of the error.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ODataError>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ODataError>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ODataError>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ODataError>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ODataError>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to