Share via


ErrorInfo Class

Definition

Error details.

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

Properties

Code

Error code.

Message

Error message.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ErrorInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ErrorInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ErrorInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ErrorInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ErrorInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to